OnLoad scripts
This extension allows us to run scripts when the page loads
OnLoad scripts란 무엇입니까?
OnLoad scripts은(는) manojmokashi에 의해 개발된 Chrome 확장 프로그램으로, 주요 기능은 "This extension allows us to run scripts when the page loads"입니다.
OnLoad scripts 확장 프로그램 CRX 파일 다운로드
크롬 확장 프로그램을 crx 형식으로 다운로드하여 브라우저에 수동으로 설치하거나 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 });
확장 프로그램 기본 정보
이름 | ![]() |
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" } } |