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
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Ban rick rollers

13»

Comments

  • Registered Users, Registered Users 2 Posts: 17,727 ✭✭✭✭Sherifu


    Terry still has those pesky screen chickens :-\


  • Registered Users, Registered Users 2 Posts: 26,061 ✭✭✭✭Terry


    What?


  • Registered Users, Registered Users 2 Posts: 17,727 ✭✭✭✭Sherifu


    Terry wrote: »
    What?
    ^_^


  • Registered Users, Registered Users 2 Posts: 26,061 ✭✭✭✭Terry


    Oh right.
    I get it.


  • Registered Users, Registered Users 2 Posts: 17,727 ✭✭✭✭Sherifu


    Terry wrote: »
    Oh right.
    I get it.
    Good, I can put the flow charts away again so.


  • Advertisement
  • Closed Accounts Posts: 1,643 ✭✭✭Gandalf23


    trolling.png


  • Registered Users, Registered Users 2 Posts: 21,264 ✭✭✭✭Hobbes


    As part of my community service for such a bad attempt at a rickroll I have created a greasemonkey script which will convert rickroll links on boards.ie to "THIS IS A RICK ROLL" .

    Of course I can't attach the bloody file to boards.ie post. :) So here are the instructions to install.

    1. Install Greasemonkey plugin (if you haven't already).

    2. Create a text file called boards.ie.rickroll.killer.user.js (name is important).

    3. Cut and paste the following code into the file and save it. Then drag the file onto Firefox and Greasemonkey will install.
    // Never gonna give you up!
    // Written by Hobbes.
    //
    // ==UserScript==
    // @name          Boards.ie RR protector.
    // @namespace     BOARDS.IE
    // @description   Protects you from Rick Rolls.
    // @include       http://www.boards.ie/vbulletin/showthread.php?*
    // @include       http://boards.ie/vbulletin/showthread.php*
    // @include       http://www.boards.ie/vbulletin/showpost.php?*
    // @include       http://boards.ie/vbulletin/showpost.php*
    // @exclude       
    // ==/UserScript==
    
    var link = document.getElementsByTagName('a');
    var rrIndex = new Array();
    var y = 0;
    var rr = new Array();
    var x = 0;
    
    // List is taken from http://rickrolldb.com/
    // However I only added two sites as an example.
    rrIndex[y++] = x;
    rr[x++] = /youtube/i;
    rr[x++] = /A7kE1Vte2iM/i;
    rr[x++] = /LwtL2o1apn4/i;
    rr[x++] = /uxIsiTo4VJo/i;
    rr[x++] = /PIMrL4qXtJ0/i;
    rr[x++] = /eBGIQ7ZuuiU/i;
    rr[x++] = /f2b1D5w82yU/i;
    rr[x++] = /_0719DxMOUY/i;
    rr[x++] = /xm_EMOdpDhc/i;
    rr[x++] = /oHg5SJYRHA0/i;
    rr[x++] = /lfO4Z5WEUuE/i;
    rr[x++] = /8OdMV2ZlOzQ/i;
    rr[x++] = /atiNprQmjks/i;
    rr[x++] = /ub_VBGajh-s/i;
    rr[x++] = /87I6EAu5fe0/i;
    rr[x++] = /SeoF-NfUVL8/i;
    rr[x++] = /FGEUClII8x0/i;
    rr[x++] = /J3VnZMoh7sk/i;
    rr[x++] = /LqXTU8YAGzo/i;
    rr[x++] = /dS9DO6kx-Ek/i;
    rr[x++] = /CZoJt0Sbqrs/i;
    rr[x++] = /AnViQZSinaU/i;
    rr[x++] = /uYMIMPVK1vU/i;
    rr[x++] = /IHKAgwIxUAY/i;
    rr[x++] = /rfp7FbsnsbU/i;
    rr[x++] = /6Ty9RpIQ1qI/i;
    rr[x++] = /ZOU8GIRUd_g/i;
    rr[x++] = /b1WWpKEPdT4/i;
    rr[x++] = /G_vas-7a7is/i;
    rr[x++] = /RSsJ19sy3JI/i;
    rr[x++] = /8aJjMOy-Ops/i;
    rr[x++] = /-umtVthRGJI/i;
    rr[x++] = /cjeogv9VUAE/i;
    rr[x++] = /Q2AQFGZf8EQ/i;
    rr[x++] = /huDsmBSBjG8/i;
    rr[x++] = /fmxGLQd3J0U/i;
    rr[x++] = /rYIl-aT4cJE/i;
    rr[x++] = /enoDdHuBttc/i;
    rr[x++] = /gdpijMRhoT8/i;
    rr[x++] = /1V_aE_Xdde8/i;
    rr[x++] = /7Z6UgVDuoJE/i;
    rr[x++] = /3HrSN7176XI/i;
    rr[x++] = /MoUPdJrjkCM/i;
    rr[x++] = /5uZr3JWYdy8/i;
    rr[x++] = /uwnuL5Fy5g8/i;
    rr[x++] = /KtOqtxSTtmo/i;
    rr[x++] = /r8tXjJL3xcM/i;
    rr[x++] = /3KANI2dpXLw/i;
    rr[x++] = /8g2oyxYENb8/i;
    rr[x++] = /VVjUWKSZSsc/i;
    rr[x++] = /lfao5IToml4/i;
    rr[x++] = /eLiXPfl8EPY/i;
    rr[x++] = /lzSjyzqfegI/i;
    rr[x++] = /AP12uZvfvag/i;
    rr[x++] = /6SYVdI7Llrg/i;
    rr[x++] = /bkdYMRj_bns/i;
    rr[x++] = /vf79MCuQ8jM/i;
    rr[x++] = /xAp3HqpE7V8/i;
    rr[x++] = /YWn54TjfBkk/i;
    rr[x++] = /I6_0tpqg3ZE/i;
    rr[x++] = /yfA6CXIdJJk/i;
    rr[x++] = /XfTUDW93z6E/i;
    rr[x++] = /QumbExFAj-U/i;
    rr[x++] = /IpjGmx2v6bM/i;
    rr[x++] = /m7KbvLAQuIE/i;
    rr[x++] = /3AdFA6WWJ7E/i;
    rr[x++] = /yxnWl63Avo4/i;
    rr[x++] = /hq05IRf0dBQ/i;
    rr[x++] = /gLVtavM962w/i;
    rr[x++] = /x4-QWEuF4q0/i;
    rr[x++] = /RzoZGNsJ71w/i;
    rr[x++] = /veFrQTKQy7A/i;
    rr[x++] = /MSFfCg82wTs/i;
    rr[x++] = /NZ-AAD7Ci_c/i;
    rr[x++] = /tazYxtJcwCc/i;
    rr[x++] = /cxwxBheZniM/i;
    rr[x++] = /gvUiLtwlEl8/i;
    rr[x++] = /DpPhnECPe2I/i;
    rr[x++] = /HiaBjpzLgQI/i;
    rr[x++] = /z-HWXfRKkJU/i;
    rr[x++] = /ggC7uOsBLJk/i;
    rr[x++] = /MJCH_wT9TaU/i;
    rr[x++] = /Vcj55kq7-g4/i;
    rr[x++] = /5F5nc1bAaKw/i;
    rr[x++] = /LeSnAn-Sc0g/i;
    rr[x++] = /zGm0nGF_y2E/i;
    rr[x++] = /AS35zlAdaSQ/i;
    rr[x++] = /ekiEgcBRxZ8/i;
    rr[x++] = /EEbzptEFsKk/i;
    
    rrIndex[y++] = x;
    rr[x++] = /tinyurl\.com/i;
    rr[x++] = /2nmscj/i;
    rr[x++] = /2q9j9y/i;
    rr[x++] = /2tcnbl/i;
    rr[x++] = /37ws8e/i;
    rr[x++] = /4xur8r/i;
    rr[x++] = /5sb29l/i;
    rr[x++] = /ynupj4/i;
    rr[x++] = /yreykn/i;
    
    // To add a new site. 
    // rrIndex[y++] = x;
    // rr[x++] = /SITEURL/i;
    // rr[x++] = /KEY/i;
    // The SITEURL refers to the main site. eg. youtube.
    // KEY refers to an id in the URL that can match to the rickroll.
    
    // Terminator. Don't touch.
    rrIndex[y++] = x;
    rrIndex[y++] = -1;
    
    for (var i = 0; i < link.length; i++) {
    		var href = link[i].href;
    		var match = href.match(/boards\.ie/i);
        var found = false;
        
        // Only run if the link is not for boards.ie
        if (match == null) { 
    				for (var x = 0; x < rrIndex.length; x++) {
    					if (rrIndex[x+1] == -1) { break; }	// Terminator.
    
    					match = href.match(rr[rrIndex[x]]);
    					
    					if (match) 	{
    						for (j = rrIndex[x]; j < rrIndex[x+1]; j++) { 
    							match = href.match(rr[j]);
    							
    							if (match) { 
    								link[i].innerHTML = "THIS IS A RICK ROLL";
    								found = true;
    								break;
    							}
    						}
    					}
    					if (found) { break; } 
    				}
    	  }
    }    
    


  • Closed Accounts Posts: 5,111 ✭✭✭MooseJam


    very good, it works , think I'd rather be surprised though


  • Registered Users, Registered Users 2 Posts: 21,264 ✭✭✭✭Hobbes


    MooseJam wrote: »
    very good, it works , think I'd rather be surprised though

    Fixed it for you. :)
    // Never gonna give you up!
    // Written by Hobbes.
    //
    // ==UserScript==
    // @name          Boards.ie Moosejam wants to be surprised RR.
    // @namespace     BOARDS.IE
    // @description   For Moosejam.
    // @include       http://www.boards.ie/vbulletin/showthread.php?*
    // @include       http://boards.ie/vbulletin/showthread.php*
    // @include       http://www.boards.ie/vbulletin/showpost.php?*
    // @include       http://boards.ie/vbulletin/showpost.php*
    // @exclude       
    // ==/UserScript==
    
    var link = document.getElementsByTagName('a');
    
    for (var i = 0; i < link.length; i++) {
    		link[i].innerHTML = "THIS IS A RICK ROLL";
    }    
    


  • Registered Users, Registered Users 2 Posts: 17,727 ✭✭✭✭Sherifu


    setigetsasignalxz3.jpg


  • Advertisement
  • Moderators, Regional East Moderators Posts: 21,504 Mod ✭✭✭✭Agent Smith




Advertisement