Remove links to URL

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
roach

Remove links to URL

Post by roach »

Is there a syntax to remove links to URL's?

For example; There's an image inside an anchor tag with a href attribute matching https://encrypted.google.com/search?q=Will+Eisner. Would it be possible to remove the link matching the https://encrypted.google.com/search?q=Will+Eisner URL using a wildcard string?

Code: Select all

<a href="https://encrypted.google.com/search?q=Will+Eisner&ct=eisner11-hp&oi=ddle"><img src="https://www.google.com/logos/2011/eisner11-hp.jpg"></a>
Image
User avatar
Adblock Plus Fan
Posts: 1255
Joined: Sat Feb 24, 2007 11:08 am

Re: Remove links to URL

Post by Adblock Plus Fan »

With the Element Hiding Helper extension, it should be possible.
en/elemhidehelper
roach

Re: Remove links to URL

Post by roach »

Adblock Plus Fan wrote:With the Element Hiding Helper extension, it should be possible.
en/elemhidehelper
That will only offer to remove the IMG tag and the alt and src attributes. I do not want to remove the image. My apologies if my question was confusing.

How would one write a syntax, with a wildcard if possible, to remove a link/href to a matching URL?
User avatar
Adblock Plus Fan
Posts: 1255
Joined: Sat Feb 24, 2007 11:08 am

Re: Remove links to URL

Post by Adblock Plus Fan »

roach wrote:That will only offer to remove the IMG tag and the alt and src attributes.
See this image: en/images/ehh-select.png
The same help box is there to help you about these things every time you initiate EHH.
Press W key and N key for navigating to the element you wish to hide.

roach wrote:with a wildcard if possible
See this thread: forum/viewtopic.php?f=2&t=6992#p43279
roach

Re: Remove links to URL

Post by roach »

Unfortunately I am still unable to do this with EHH.

A syntax with <adblockplus.org##.postlink[href="https://encrypted.google.com/search?q=Will+Eisner"]> will remove the image instead of simply removing the link/href.

Maybe a removing links to URL's isn't possible with Adblock Plus?
User avatar
Adblock Plus Fan
Posts: 1255
Joined: Sat Feb 24, 2007 11:08 am

Re: Remove links to URL

Post by Adblock Plus Fan »

I'm so sorry, I completely misunderstood you.
roach wrote:Maybe a removing links to URL's isn't possible with Adblock Plus?
Yes, it's impossible with ABP to remove the url while keeping the image inside it.
Locked