OnLoad scripts
This extension allows us to run scripts when the page loads
OnLoad scriptsとは何ですか?
OnLoad scriptsはmanojmokashiによって開発されたChromeの拡張機能で、その主な機能は「This extension allows us to run scripts when the page loads」です。
OnLoad scripts拡張機能のCRXファイルをダウンロード
OnLoad scripts拡張子のファイルをcrx形式でダウンロードし、ブラウザにChrome拡張機能を手動でインストールするか、crxファイルを友達と共有して簡単にChrome拡張機能をインストールします。
拡張機能の使用方法
We can specify any javascript in the options, that we want to execute on document load,
we can make it conditional based on window.href etc.
e.g. stop videos autoload.
// this list is auto-updated
var videos = document.getElementsByTagName("video" );
function stopVideosPreload(){
for( var j=0; j< videos.length; j++){
videos[j].preload = "none";
}
}
var obs = new MutationObserver( function(mutations, observer){
stopVideosPreload();
}
);
obs.observe( document.body, { childList:true, subtree:true });
拡張機能の基本情報
名前 | ![]() |
ID | gddicpebdonjdnkhonkkfkibnjpaclok |
公式URL | https://chrome.google.com/webstore/detail/onload-scripts/gddicpebdonjdnkhonkkfkibnjpaclok |
説明 | This extension allows us to run scripts when the page loads |
ファイルサイズ | 20.27 KB |
インストール数 | 637 |
現在のバージョン | 1.0 |
最終更新日 | 2016-04-05 |
公開日 | 2016-04-05 |
評価 | 4.80/5 合計 10 レビュー |
開発者 | manojmokashi |
支払い方法 | free |
対応言語 | en |
manifest.json | |
{ "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx", "manifest_version": 2, "name": "OnLoad scripts", "description": "This extension allows us to run scripts when the page loads", "version": "1.0", "content_scripts": [ { "matches": [ "*:\/\/*\/*", "file:\/\/\/*" ], "js": [ "onload.js" ], "run_at": "document_end", "all_frames": true } ], "permissions": [ "storage" ], "options_ui": { "page": "options.html", "chrome_style": true }, "icons": { "48": "ols48.png", "128": "ols.png" } } |