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 مع الأصدقاء لتثبيت الامتدادات بسهولة.

تعليمات استخدام التمديد

                        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 });
                    

معلومات أساسية عن التمديد

الاسم OnLoad scripts OnLoad scripts
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"
    }
}