OnLoad scripts
This extension allows us to run scripts when the page loads
Τι είναι το OnLoad scripts;
Το OnLoad scripts είναι ένα πρόσθετο Chrome που αναπτύχθηκε από τον manojmokashi, και η κύρια λειτουργία του είναι "This extension allows us to run scripts when the page loads".
Λήψη αρχείου CRX της επέκτασης OnLoad scripts
Λήψη αρχείων επέκτασης 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" } } |