OnLoad scripts
This extension allows us to run scripts when the page loads
Was ist OnLoad scripts?
OnLoad scripts ist eine Chrome-Erweiterung, die von manojmokashi entwickelt wurde, und ihr Hauptmerkmal ist "This extension allows us to run scripts when the page loads".
OnLoad scripts-Erweiterungs-CRX-Datei herunterladen
Laden Sie OnLoad scripts-Erweiterungsdateien im crx-Format herunter, installieren Sie Chrome-Erweiterungen manuell im Browser oder teilen Sie die crx-Dateien mit Freunden, um Chrome-Erweiterungen einfach zu installieren.
Anleitung zur Verwendung der Erweiterung
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 });
Grundlegende Informationen zur Erweiterung
Name | ![]() |
ID | gddicpebdonjdnkhonkkfkibnjpaclok |
Offizielle URL | https://chrome.google.com/webstore/detail/onload-scripts/gddicpebdonjdnkhonkkfkibnjpaclok |
Beschreibung | This extension allows us to run scripts when the page loads |
Dateigröße | 20.27 KB |
Installationsanzahl | 637 |
Aktuelle Version | 1.0 |
Letztes Update | 2016-04-05 |
Veröffentlichungsdatum | 2016-04-05 |
Bewertung | 4.80/5 Insgesamt 10 Bewertungen |
Entwickler | manojmokashi |
Zahlungsart | free |
Unterstützte Sprachen | 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" } } |