OnLoad scripts

Malware Detected

This extension has been flagged as potentially malicious.

Extension Delisted

This extension is no longer available in the official store. Delisted on 2025-09-16.

CRX ID
gddicpebdonjdnkhonkkfkibnjpaclok
Status
Minor Policy Violation Removed Long Ago No Privacy Policy
Description from extension meta

This extension allows us to run scripts when the page loads

Description from store

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.
<code>
// 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 });
</code>

Latest reviews

Vadym Milichev 2021-12-01

Decent solution for dirty tasks! :) Suppose, you hate Jira and its unavoidable habit to enter the edit mode on the description click. So you just save this chunk in the extension options, and that's it: only ⌘+Click opens the editor! document.addEventListener('click', ((event)=>{ if (event.metaKey || event.ctrlKey || document.body.id !== 'jira') { return; } let e = event.target; let contentWrapperFound; while (e && e !== document && e.tagName !== 'A') { if (!contentWrapperFound && ( e.matches('div[class^="ContentWrapper_"]') || e.matches('div[class^="ak-renderer-document"]') )) { contentWrapperFound = true; } else if (e.matches('div[role="presentation"]')) { if (contentWrapperFound) { console.log("CLICKED TO NOT EDIT, hold ctrl/cmd if you really want the thing to happen"); event.preventDefault(); event.stopPropagation(); return false; } else { break; } } e = e.parentNode; } } ), { capture: true });

windmaomao 2021-10-16

Very good, thanks for taking the time to do things this basic.

Will Ediger 2021-03-03

Did the job. Would love more customization, but can't complain about having a simple job to do the trick in a pinch.

Mehdi Rad 2020-12-18

Cool for pro Ads Removal

Alisherbek Rakhimov 2020-08-13

Please add a feature onloading specific scripts with specific websites, facebook -> some script, instagram another script. But you have one general script to all, for example if I want to remove some block of code(div with some class) on instagram, and if facebook have the same div with the same class your extension must not touch facebook, so that i want it only work for instagram, so please, add this feature ASAP.

Statistics

Installs
628
Market
Chrome Web Store
Category
-
Rating
4.8 (8 votes)
Last update
2016-04-05
Version 1.0
Languages
en