Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name disable pmda pop-up
- // @namespace www.uaa.org.uk
- // @description disable pmda pop-up
- // @include http://www.info.pmda.go.jp/
- // @version 1
- // @grant none
- // ==/UserScript==
- // thanks to http://www.squakmt.com/replacing_javascript/
- var scriptCode = new Array();
- scriptCode.push('function OpenWin(){ ');
- scriptCode.push(' // pop-up is disabled! ');
- scriptCode.push('} ');
- var script = document.createElement('script');
- script.innerHTML = scriptCode.join('\n');
- scriptCode.length = 0;
- document.getElementsByTagName('head')[0].appendChild(script);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement