Wilders Security Forums  

Go Back   Wilders Security Forums > Software, Hardware and General Services > other software & services
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old April 30th, 2012, 06:31 PM
m00nbl00d m00nbl00d is offline
Incredibly Massive Poster
 
Join Date: Jan 2009
Posts: 6,470
Default [Nimi Cleanser - Chrome] - Aditional regex entry!

Hello,

I've been learning Regular Expressions , and I came up with my first one to block Softpedia's ads coming from this link:

-http://s2.softpedia-static.com/images/aetd/AAETD4.jpg?v=66

The regular expression I came up with, should block all future ads, even if what's in bold changes.

The regular expression is the following one:

Code:
(\/images\/)[a-z]+\/[A-Z]+[0-9]+\.(jpg\?v=)[0-9]+

Copy and past it to Nimi Cleanser, in the Images Shield at the very end, before /. You should also add | before the regular expression (no spaces between).

I tested it, and it's working fine.

Cheers


P.S: Tell me if it's working. Also, tell me if you know of any other ads that it doesn't block. It will also be a great way to learn more about this regular expressions stuff.

P.S 2: [a-z]+\/[A-Z]+[0-9]+\.(jpg\?v=)[0-9]+ would also work... I could even make it smaller, but I want to play on the safe side. lol

Last edited by m00nbl00d : April 30th, 2012 at 06:49 PM.
 

Wilders Security Forums > Software, Hardware and General Services > other software & services « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 02:59 AM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums