OnLoad scripts

This extension allows us to run scripts when the page loads

OnLoad scripts là gì?

OnLoad scripts là một tiện ích mở rộng Chrome được phát triển bởi manojmokashi, và tính năng chính của nó là "This extension allows us to run scripts when the page loads".

Tải xuống tệp CRX của tiện ích mở rộng OnLoad scripts

Tải xuống các tệp mở rộng OnLoad scripts dưới định dạng crx, cài đặt các tiện ích mở rộng Chrome bằng tay trong trình duyệt hoặc chia sẻ các tệp crx với bạn bè để dễ dàng cài đặt các tiện ích mở rộng Chrome.

Hướng Dẫn Sử Dụng Tiện Ích Mở Rộng

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

Thông Tin Cơ Bản về Tiện Ích Mở Rộng

Tên OnLoad scripts OnLoad scripts
ID gddicpebdonjdnkhonkkfkibnjpaclok
URL Chính Thức https://chrome.google.com/webstore/detail/onload-scripts/gddicpebdonjdnkhonkkfkibnjpaclok
Mô tả This extension allows us to run scripts when the page loads
Kích Thước Tệp 20.27 KB
Số Lần Cài Đặt 637
Phiên Bản Hiện Tại 1.0
Cập Nhật Lần Cuối 2016-04-05
Ngày Phát Hành 2016-04-05
Đánh Giá 4.80/5 Tổng số 10 Đánh Giá
Nhà Phát Triển manojmokashi
Loại Thanh Toán free
Ngôn Ngữ Được Hỗ Trợ 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"
    }
}