surrogate for scorecardresearch.com
surrogate for scorecardresearch.com
I'm not sure if this is the right place to ask, but anyway, i need a script surrogate, and i'm a completely noob at javascript, so some help would be nice.
Simply visiting a site that has scoredresearch as (i think) advertisement, gives a annoying 'popup' when javascript is disabled. Many dutch and belgium newspapers have this.
For example:
http://www.bndestem.nl/
http://www.gelderlander.nl/
Simply visiting a site that has scoredresearch as (i think) advertisement, gives a annoying 'popup' when javascript is disabled. Many dutch and belgium newspapers have this.
For example:
http://www.bndestem.nl/
http://www.gelderlander.nl/
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Re: surrogate for scorecardresearch.com
Do you use Adblock Plus or one of its forks?
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; OpenBSD amd64; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23
Re: surrogate for scorecardresearch.com
no, i use no-script. I'm on the right forum i hope?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Re: surrogate for scorecardresearch.com
Yeah, just that those things are a lot easier to zap with ABP. There is likely no global "catch-all" surrogate for zapping those. For your second link, try this
Code: Select all
for (let e of document.querySelectorAll('.dialog-no-script')){e.parentNode.removeChild(e);}*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; OpenBSD amd64; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23
Re: surrogate for scorecardresearch.com
Oh, forgot to add that the sources pref is
Code: Select all
!@.gelderlander.nl
Last edited by barbaz on Sat Aug 02, 2014 7:16 pm, edited 1 time in total.
Mozilla/5.0 (X11; OpenBSD amd64; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23
Re: surrogate for scorecardresearch.com
Thanks, that's something at least. I was under the impression script surrogates worked for target domains, not per-site that include a certain domain. Like you don't need one for every website that uses google-analytics either.
Anyway, scoredresearch has been bothering me for some time now, as you have to allow it for a easy way to get rid of the lay-over, but looking at the WoT and google reputation for that site, it's spreading male ware quite frequent.
Anyway, scoredresearch has been bothering me for some time now, as you have to allow it for a easy way to get rid of the lay-over, but looking at the WoT and google reputation for that site, it's spreading male ware quite frequent.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Re: surrogate for scorecardresearch.com
Actually it's both, depending the sources pref. Documentation here.Dorus wrote:Thanks, that's something at least. I was under the impression script surrogates worked for target domains, not per-site that include a certain domain.
Maybe play around with NoScript Options -> Trusted -> Show the NOSCRIPT... ?Dorus wrote:Anyway, scoredresearch has been bothering me for some time now, as you have to allow it for a easy way to get rid of the lay-over, but looking at the WoT and google reputation for that site, it's spreading male ware quite frequent.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; OpenBSD amd64; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23
Re: surrogate for scorecardresearch.com
No luck there.barbaz wrote:Maybe play around with NoScript Options -> Trusted -> Show the NOSCRIPT... ?Dorus wrote:Anyway, scoredresearch has been bothering me for some time now, as you have to allow it for a easy way to get rid of the lay-over, but looking at the WoT and google reputation for that site, it's spreading male ware quite frequent.
Also, this surrogate fails when gelderlander.nl is allowed, but scorecardresearch.com is not, a situation i would prefer normally.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Re: surrogate for scorecardresearch.com
sources pref edited above
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; OpenBSD amd64; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23
Re: surrogate for scorecardresearch.com
Both !@.gelderlander.nl and !.gelderlander.nl worked just fine as long as gelderlander.nl is blocked, but not when gelderlander.nl is allowed and b.scorecardresearch.com is still blocked.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Re: surrogate for scorecardresearch.com
Weird, with !@ and only gelderlander.nl allowed the massive overlay is gone here...
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; OpenBSD amd64; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23
Re: surrogate for scorecardresearch.com
facebook.com
twitter.com
twimg.com
akamaihd.net
Anyway, i have it working with:
Code: Select all
>.gelderlander.nlMozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Re: surrogate for scorecardresearch.com
Try this?Dorus wrote:Still hoping to find a way to run it for scorecardresearch.com instead.
Code: Select all
if (window.location.hostname.endsWith(".gelderlander.nl") || window.location.hostname == "gelderlander.nl"){window.addEventListener("load", function(){for (let e of document.querySelectorAll('.dialog-no-script')){e.parentNode.removeChild(e);}}, false);}Code: Select all
.scorecardresearch.com*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; OpenBSD amd64; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23
Re: surrogate for scorecardresearch.com
That works like a charm
Wonderfull.
I am thinking, what stops me from just using:
A quick test shows this works on other websites also. I'm not expecting many problems since most websites dont include scoreresearch right?
I am thinking, what stops me from just using:
Code: Select all
window.addEventListener("load", function(){for (let e of document.querySelectorAll('.dialog-no-script')){e.parentNode.removeChild(e);}}, false);Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Re: surrogate for scorecardresearch.com
I included the domain check because it's possible other sites which include scripts from scorecardresearch might have elements with class "dialog-no-script" that you actually *want* to see. You can remove it if you want, but be ready for false positives.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; OpenBSD amd64; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23