The Arse filter

  • The Fighting Cock is a forum for fans of Tottenham Hotspur Football Club. Here you can discuss Spurs latest matches, our squad, tactics and any transfer news surrounding the club. Registration gives you access to all our forums (including 'Off Topic' discussion) and removes most of the adverts (you can remove them all via an account upgrade). You're here now, you might as well...

    Get involved!

Latest Spurs videos from Sky Sports

Rosie47

Papering over the cracks
The Woolwich filter, which changes the word Woolwich to Woolwich, seems to be a global catch-all, meaning that if say I were to plain write down a URL, such as http://www.Woolwich.com, the software would recognise the link, and the Arse, and transmogrify it to http://www.Woolwich.com. It even happens if I tag the URL as a link, thusly http://www.Woolwich.com.

Now, while I applaud the sentiment in eliminating the vile word from existence, it does cause problems in long URLs containing the despicable word, such as http://tarin.bajagratis.net/t/deportes/10812938/Woolwich-y-Tottenham-estan-_locos_-por-Falcao/ , which the filter has turned into a link that doesn't exist, even though it's proper Spursy.

Hi, my name's Rosie47. Welcome to Admin Admin 's World.
 
Assuming we use the swear filter, it looks like no…
http://xenforo.com/community/threads/how-does-the-swear-filter-work.4275/
Of course, writing some jquery to undo the change would be easy... But the you just might as well be rid of the swear filter in that case and write a simple, jquery swear filter, like this...
Code:
$(document).ready(function() {
    var bodyText = $('body').html().replace(/([^a-z=_\./-?&]+)аrsenal/gi,'\1Woolwich');
    $('body').html(bodyText);
});
Of course, this might kill the speed of the site, or something. (I also think a better regex exists)
 
Assuming we use the swear filter, it looks like no…
http://xenforo.com/community/threads/how-does-the-swear-filter-work.4275/
Of course, writing some jquery to undo the change would be easy... But the you just might as well be rid of the swear filter in that case and write a simple, jquery swear filter, like this...
Code:
$(document).ready(function() {
    var bodyText = $('body').html().replace(/([^a-z=_\./-?&]+)аrsenal/gi,'\1Woolwich');
    $('body').html(bodyText);
});
Of course, this might kill the speed of the site, or something. (I also think a better regex exists)
A better regex definitely exists, but you've gotta clear the cookies and cache first.
 
Assuming we use the swear filter, it looks like no…
http://xenforo.com/community/threads/how-does-the-swear-filter-work.4275/
Of course, writing some jquery to undo the change would be easy... But the you just might as well be rid of the swear filter in that case and write a simple, jquery swear filter, like this...
Code:
$(document).ready(function() {
    var bodyText = $('body').html().replace(/([^a-z=_\./-?&]+)аrsenal/gi,'\1Woolwich');
    $('body').html(bodyText);
});
Of course, this might kill the speed of the site, or something. (I also think a better regex exists)

WOAH!


CASE! YOU JUST GOT SERVED!

Are you going to let him talk to you like that?!?!


CODE HIM UP HOMBRE!
 
The Woolwich filter, which changes the word Woolwich to Woolwich, seems to be a global catch-all, meaning that if say I were to plain write down a URL, such as http://www.Woolwich.com, the software would recognise the link, and the Arse, and transmogrify it to http://www.Woolwich.com. It even happens if I tag the URL as a link, thusly http://www.Woolwich.com.

Now, while I applaud the sentiment in eliminating the vile word from existence, it does cause problems in long URLs containing the despicable word, such as http://tarin.bajagratis.net/t/deportes/10812938/Woolwich-y-Tottenham-estan-_locos_-por-Falcao/ , which the filter has turned into a link that doesn't exist, even though it's proper Spursy.

Hi, my name's Rosie47. Welcome to Admin Admin 's World.


This is genius.

Remember a few years back, the USA were trying to deport a hacker from the UK because he had successfully hacked into the Pentagon and the whole US military?

Personally I am an Information, Communication and Technology dimwit luddite,
but would it be at all possible to create/hack into the BBC, SKY, ESPN, ITV etc, so that anytime Woolwich appeared on any screen anywhere it would appear as Woolwich?
:goonermong:
 
This is genius.

Remember a few years back, the USA were trying to deport a hacker from the UK because he had successfully hacked into the Pentagon and the whole US military?

Personally I am an Information, Communication and Technology dimwit luddite,
but would it be at all possible to create/hack into the BBC, SKY, ESPN, ITV etc, so that anytime Woolwich appeared on any screen anywhere it would appear as Woolwich?
:goonermong:
So you mean in 4 months time the Sky Sports ticker will read "Wilshere hands in shock Woolwich transfer request"?
 
Back
Top Bottom