How to block link, not object

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
sker
Posts: 2
Joined: Sun Apr 26, 2015 2:58 pm

How to block link, not object

Post by sker »

Is there way to block link, but don't hide text/image itself?
f.e. http://luxorfilm.ru/afisha/ - I want background to stay, but I tired of accidentally click it. Thanks.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: How to block link, not object

Post by mapx »

add & test

Code: Select all

luxorfilm.ru###lnkBranding
luxorfilm.ru##A[href^="http://www.luxorfilm.ru/Features/Banner.ashx?"]
sker
Posts: 2
Joined: Sun Apr 26, 2015 2:58 pm

Re: How to block link, not object

Post by sker »

mapx wrote:add & test

Code: Select all

luxorfilm.ru###lnkBranding
luxorfilm.ru##A[href^="http://www.luxorfilm.ru/Features/Banner.ashx?"]
It works, thanks. But I suppose there is no universal way to do it? Because the top of https://www.lostfilm.tv/ is complitly disappear when I add "href" rule...
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: How to block link, not object

Post by mapx »

universal way ==> using stylish addon

for your case use this style

Code: Select all

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("lostfilm.tv") {
    A[title="War Thunder"] {
        pointer-events: none;
    }
}
Locked