Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

[Greasemonkey] Removing unsubscribe from userCP.

Options
  • 27-10-2007 12:58pm
    #1
    Registered Users Posts: 21,264 ✭✭✭✭


    Single most annoying thing for me. The unsub links I keep clicking them by accident then have to go find the forum and resub. So I made a greasemonkey script to get rid of them.

    Save the code below to a file called boardsie_usercp.user.js (naming is important). Then drop the file onto firefox. Oh yea and you need the greasemonkey plugin installed.
    // boards.ie remove unsub.
    // @author: Hobbes
    // @version: 1.00
    //
    // ==UserScript==
    // @name          Boards.ie Remove Unsub lines.
    // @namespace     BOARDS.IE
    // @description   Removes the unsubcribe line from boards.ie usercp
    // @include       http://www.boards.ie/vbulletin/usercp.php*
    // @exclude       
    // ==/UserScript==
    
    var node = document.getElementsByTagName('a');
    for (var i = 0; i < node.length; i++) { 
    	var h = node[i].getAttribute('href');
    	if (h != null && h.search(/(.)removesubscription(.)/i) > -1) { 
    			node[i].parentNode.removeChild(node[i]);
    	}
    }
    


Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.

Advertisement