Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name srrdb.com
- // @author Gfy
- // @namespace http://www.srrdb.com/
- // @description Removes action notification box.
- // @include http://www.srrdb.com/*
- // ==/UserScript==
- // for GreaseMonkey compatibility
- if (typeof unsafeWindow != "undefined") {
- window = unsafeWindow;
- }
- //"Opera’s implementation appears to be just perfect..."
- //http://frans.lowter.us/archives/2006/07/13/opera-user-js-and-greasemonkey-interoperability/
- /**
- * When the site loads, check which page we are and add functionality.
- */
- window.addEventListener(
- 'load',
- function (e) {
- if( document.documentURI.match("/release/details/") ) {
- $('.alert-success').remove();
- }
- },
- false
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement