http://sh.st

Here you should report unblocked ads, trackers, social media items, annoyances or leftovers from blocked content.
Locked
JustME
Site Member
Site Member
Posts: 11
Joined: Fri Nov 21, 2014 6:48 pm

http://sh.st

Post by JustME »

Hello, I'm having some problems with this url shortener service.
Example: http://sh.st/lgtBd
http://i.imgur.com/VfOSMC7.jpg
Could you fix it? Thank you for your efforts.
User avatar
fanboy
EasyList Author
EasyList Author
Posts: 12230
Joined: Wed Sep 05, 2007 8:17 pm

Post by fanboy »

No ads seen, Are you testing in Adblock Plus?
KingNaheem
Postaholic
Postaholic
Posts: 726
Joined: Fri Aug 29, 2014 1:37 pm

Post by KingNaheem »

intense
Contributor
Contributor
Posts: 10500
Joined: Wed Mar 27, 2013 9:56 am

Post by intense »

nothing to do for chrome due to !important property used in css
JustME
Site Member
Site Member
Posts: 11
Joined: Fri Nov 21, 2014 6:48 pm

Post by JustME »

intense wrote:nothing to do for chrome due to !important property used in css
What's that? D:
intense
Contributor
Contributor
Posts: 10500
Joined: Wed Mar 27, 2013 9:56 am

Post by intense »

arflech
Senior Member
Senior Member
Posts: 77
Joined: Thu Feb 24, 2011 5:49 pm

Post by arflech »

intense wrote:nothing to do for chrome due to !important property used in css
You could try to use a highly targeted CSS selector in your hiding rule, so that it has more specificity than the one used to prop that block-display open, but it certainly sucks that Blink has no support for user stylesheets whatsoever.

To explain what I mean with a simple example, if you had markup like this:

Code: Select all

<p id="lol">rofl</p>
and two style rules like this:

Code: Select all

p#lol{display:none!important}
#lol{display:block!important}
then that paragraph will be hidden, because (element id important) is more specific than (id important): http://jsfiddle.net/zut4e6nr/
snoack
Adblock Plus Author
Adblock Plus Author
Posts: 1
Joined: Thu Aug 28, 2014 4:38 pm

Post by snoack »

Since Adblock Plus for Chrome creates a shadow root and injects the styles there using the ::content pseudo-selector, the selectors injected by Adblock Plus already have a higher specificity than any CSS selector used in the light DOM.

However, the problem here is that the page sets "display: none important" with the element's style attribute. And this cannot be overridden by any selector, except with user stylesheets, which aren't supported by Blink.
Locked