OnLoad scripts
This extension allows us to run scripts when the page loads
Apa itu OnLoad scripts?
OnLoad scripts adalah ekstensi Chrome yang dikembangkan oleh manojmokashi, dan fitur utamanya adalah "This extension allows us to run scripts when the page loads".
Unduh Berkas CRX Ekstensi OnLoad scripts
Unduh file ekstensi OnLoad scripts dalam format crx, pasang ekstensi Chrome secara manual di peramban, atau bagikan file crx dengan teman untuk menginstal ekstensi Chrome dengan mudah.
Petunjuk Penggunaan Ekstensi
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 });
Informasi Dasar Ekstensi
Nama | ![]() |
ID | gddicpebdonjdnkhonkkfkibnjpaclok |
URL Resmi | https://chrome.google.com/webstore/detail/onload-scripts/gddicpebdonjdnkhonkkfkibnjpaclok |
Deskripsi | This extension allows us to run scripts when the page loads |
Ukuran File | 20.27 KB |
Jumlah Instalasi | 637 |
Versi Saat Ini | 1.0 |
Terakhir Diperbarui | 2016-04-05 |
Tanggal Publikasi | 2016-04-05 |
Penilaian | 4.80/5 Total 10 Penilaian |
Pengembang | manojmokashi |
Tipe Pembayaran | free |
Bahasa yang Didukung | 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" } } |