Page 1 of 1

Possible to block ForSee surveys?

Posted: Sat Jun 18, 2011 3:35 pm
by Andycat
I searched the forums and was surprised this has apparently never come up.

Is it possible to block the ForSee survey pop-ups that so many web sites seem to use? According to the wikipedia article, it's necessary to block the javascript trigger, "*/foresee-trigger.js". This would seem to be right in the wheelhouse for no NoScript.

Re: Possible to block ForSee surveys?

Posted: Sat Jun 18, 2011 5:11 pm
by Giorgio Maone
NoScript Options|Advanced|ABE, edit your USER ruleset and add the following lines:

Code: Select all

Site */foresee-trigger.js
Deny

Re: Possible to block ForSee surveys?

Posted: Tue Jun 21, 2011 9:59 pm
by GµårÐïåñ
Just curious Giorgio, can this be done with more of a wildcard like in ABP by say making it ( */forsee* ) or will that fail?

Re: Possible to block ForSee surveys?

Posted: Tue Jun 21, 2011 10:15 pm
by dhouwn
GµårÐïåñ wrote:Just curious Giorgio, can this be done with more of a wildcard like in ABP by say making it ( */forsee* ) or will that fail?
Should also be possible (see the specification), and even if it wasn't you could still use RegExps.

Re: Possible to block ForSee surveys?

Posted: Tue Jun 21, 2011 10:56 pm
by GµårÐïåñ
Thank you but yeah I am aware of the specs, I have been writing the rules since ABE release, and familiar with the use of regular expressions as well. I was simply asking for the sake of end-user ease for the more novice users so if they encounter a situation like this, they can possibly more easily figure out what rules would work. It was more of an expansion on the answer type question. Most users are not familiar with regexp and/or don't quite understand the rules included in the documentation but those same people generally understand simple "windows" based if you will, wildcard concepts and/or can adopt its understanding easier.

Re: Possible to block ForSee surveys?

Posted: Thu May 23, 2013 3:26 pm
by MaxHelloWorld
I also was looking to stop the Foresee Results pop-ups.
But I never did anything with ABE before.
So I read, and re-read ABE's documentation, yet I still found it (ABE) daunting.

Thankfully I came across the code posted above by Giorgio Maone.
I pasted it in ABE, and it (not surprisingly) works like a charm!
I just wanted to say thank you very much Giorgio. :D

Max

Re: Possible to block ForSee surveys?

Posted: Fri May 24, 2013 8:28 pm
by MaxHelloWorld
I spoke too soon...
There is a foresee survey that gets through at tigerdirect.ca.
Looks different too...

I found the script is there with the same name
"/foresee/foresee-trigger.js"

I'm not 100% sure, but it appears to me that its using image code to pop-up?
Those images are on some 3rd party website...
http://images.highspeedbackbone.net/foresee/

For example:
http://images.highspeedbackbone.net/for ... ogo_ca.jpg

So, any ideas on blocking this one?

Re: Possible to block ForSee surveys?

Posted: Sat May 25, 2013 3:55 am
by Thrawn
How about this?

Code: Select all

Site ^.*/foresee.*
Deny

Re: Possible to block ForSee surveys?

Posted: Thu Apr 21, 2016 4:13 am
by GµårÐïåñ
That rule given before your message will do it perfectly.

But if you want to do a hack around and KNOW the script file on that particular site, you can use ABP to block it directly but that is not a wildcard, meaning on a different site using different names or different implementation, you are on your own.

Since NS is effectively blocking anything coming foresee given the rule, that means it will break it everywhere. HOWEVER, note that like jquery which can be linked by CDN, directly to Jquery's site, or SELF HOSTED, this means that anyone choosing not to deliver directly from them and ends up self hosting or changing the name or implementation on their site, can technically get around it. An example of above JQuery is when people use google's mirror of googleapis in its myriad of variations in domain names and so on, it will not kill those.

My recommendation is to look into doing a decent surrogate script for it and neuter it that way.

Re: Possible to block ForSee surveys?

Posted: Thu Apr 21, 2016 12:09 pm
by barbaz
Image

Re: Possible to block ForSee surveys?

Posted: Thu Apr 21, 2016 6:26 pm
by GµårÐïåñ
okie dokie