Hi!
Example image path to block:
http://64.thumbs.website.com/64x96/hhfhfhhh333.jpg
Example image path NOT to block:
http://128.thumbs.website.com/128x192/0 ... defec9.jpg
The numbers (64, 64x94) are random from 0 to 288.
I wrote the following filter, but it doesnt work:
http://*.thumbs.website.com/[0-288]x[0-288]/[A-Za-z0-9]*.jpg
Where's the bug?
Block specific Image-Path
Re: Block specific Image-Path
You are trying to use a regular expression, those have to be enclosed in forward slashes (like /myregex/ ). Furthermore, you are trying to use a regular expression without knowing how exactly they work.
You should probably take a look at: https://developer.mozilla.org/en/Core_J ... on_Pattern
Maybe this is what you are looking for?

Maybe this is what you are looking for?
Code: Select all
/\.thumbs\.website\.com\/[0-9]{1,3}x[0-9]{1,3}\/[A-Za-z0-9]+\.jpg/
Re: Block specific Image-Path
okay thanks, it works!!
other question:
can i block a element, when the div style-tag contains the regexp above?
the documentation says, that regexp in element-filtering is not possible.
is there any other possibility to block these elements?
other question:
can i block a element, when the div style-tag contains the regexp above?
the documentation says, that regexp in element-filtering is not possible.
is there any other possibility to block these elements?
Re: Block specific Image-Path
And it doesn't lie.Merion wrote:the documentation says, that regexp in element-filtering is not possible.

You might not be able to block them, but you can probably hide them, try the advanced view of the Element Hiding Helper Addon: https://addons.mozilla.org/addon/elemhidehelper/Merion wrote:is there any other possibility to block these elements?