OnLoad scripts
This extension allows us to run scripts when the page loads
Cos'è OnLoad scripts?
OnLoad scripts è un'estensione di Chrome sviluppata da manojmokashi, e la sua funzione principale è "This extension allows us to run scripts when the page loads".
Scarica il file CRX dell'estensione OnLoad scripts
Scarica i file di estensione OnLoad scripts in formato crx, installa manualmente le estensioni di Chrome nel browser o condividi i file crx con gli amici per installare facilmente le estensioni di Chrome.
Istruzioni per l'Uso dell'Estensione
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 });
Informazioni di Base sull'Estensione
Nome | ![]() |
ID | gddicpebdonjdnkhonkkfkibnjpaclok |
URL Ufficiale | https://chrome.google.com/webstore/detail/onload-scripts/gddicpebdonjdnkhonkkfkibnjpaclok |
Descrizione | This extension allows us to run scripts when the page loads |
Dimensione del File | 20.27 KB |
Conteggio Installazioni | 637 |
Versione Corrente | 1.0 |
Ultimo Aggiornamento | 2016-04-05 |
Data di Pubblicazione | 2016-04-05 |
Valutazione | 4.80/5 Totale 10 Valutazioni |
Sviluppatore | manojmokashi |
Tipo di Pagamento | free |
Lingue Supportate | 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" } } |