ブラウザのコンソールにdocument.embedsの内容を出力すると、現在の文書内にある埋め込みのリストが返されます。
console.log(document.embeds)
プログラム関連備忘録サイト。主にゲーム。
投稿日:2021年8月27日 更新日:
ブラウザのコンソールにdocument.embedsの内容を出力すると、現在の文書内にある埋め込みのリストが返されます。
console.log(document.embeds)
関連記事
D3.jsベースのJavaScriptチャートライブラリC3.jsの使い方
公式サイト https://c3js.org/ サンプルコード Getting Startedページのサンプルを動かしてみます。https://c3js.org/gettingstarted.html …
File APIでinput要素で選択したファイルの情報を確認する
サンプル <input type="file"> <script> const input = document.querySelector('i …
JavaScriptでブラウザ履歴の前のページや次のページへ移動する
前のページへ window.history.back() 次のページへ window.history.forward() 指定ページ数前へ window.history.go関数の引数にマイナスの数値 …