BTW, do appreciate how lightweight NoScript is compared to Adblock Plus etc.

Yes, NoScript can do that, but I'm not sure the exact details.danielson wrote:Is it possible to block those annoying little banner ads within certain Youtube clips that require you to click on to close them?
Code: Select all
noscript.surrogate.youtube_mod.replacement : let selectors=['.video-annotations'];window.addEventListener('load', function(){let s=document.createElement('style');s.setAttribute('type','text/css');s.innerHTML = selectors.join(',\n')+'\n{ display: none !important; }';document.head.appendChild(s);}, false);
noscript.surrogate.youtube_mod.sources : @.youtube.com
Code: Select all
Site ^https?://s\.ytimg\.com/.*[^0-9A-Za-z](?:ad|iv)3[^0-9A-Za-z].*
Deny