allow specific script failed

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: allow specific script failed

Re: allow specific script failed

by Thrawn » Thu Sep 10, 2015 6:09 am

joe wrote:Writting this code in ABE hoped that static.adman.gr would be allowed only in sites naftemporiki.gr and kathimerini.gr.

Only if you have already allowed the domain via the regular script-blocking.

ABE only intercepts traffic to do extra filtering. It doesn't allow anything that was already blocked. It potentially blocks things that would otherwise be allowed.

So what you do is allow the site through the regular script blocking, then use an ABE rule to selectively block it (ie everywhere except the trusted locations).

Re: allow specific script failed

by barbaz » Wed Sep 09, 2015 8:53 pm

Well, the ABE rule looks like it should work, you've Allowed the domain in the script blocking, it still blocking the script but no messages from ABE in the Browser Console (Ctrl-Shift-J)...
Maybe try the optimal version of the ABE rule:

Code: Select all

Site .static.adman.gr
Accept from .naftemporiki.gr .kathimerini.gr .static.adman.gr
Deny INC

or try this version which emulates the script blocking rather than filter all requests:

Code: Select all

Site .static.adman.gr
Accept from .naftemporiki.gr .kathimerini.gr .static.adman.gr
Deny INC(SCRIPT, OBJ, FONT, XHR, MEDIA)
Sandbox


If this doesn't work I'll leave this thread alone (at least for the moment), as I'm out of ideas. :|

Re: allow specific script failed

by joe » Wed Sep 09, 2015 6:34 pm

From the FAQ section I undersdand that with ABE you can allow specific script to run in specific sites only and not in all the sites. Writting this code in ABE hoped that static.adman.gr would be allowed only in sites naftemporiki.gr and kathimerini.gr. Maybe I cannot understand the use of ABE well or there is not a way to do so.

Re: allow specific script failed

by barbaz » Tue Sep 08, 2015 11:15 pm

Joe wrote:The script static.adman.gr is not allowed

And how are you determining this?
If by what the NS menu shows, you have to Allow it there for the ABE rule to do what you want. NoScript permissions & ABE are completely independent of each other.

Re: allow specific script failed

by Joe » Tue Sep 08, 2015 7:18 pm

Site .static.adman.gr
Accept INCLUSION from SELF++
Accept INCLUSION from .naftemporiki.gr .kathimerini.gr
Deny

The script static.adman.gr is not allowed for example in the page http://www.naftemporiki.gr/video/1000659/isxuri-ammothuella-skepase-ti-mesi-anatoli
No message in the console from ABE

Re: allow specific script failed

by barbaz » Tue Sep 08, 2015 5:59 pm

Please put in your ABE rule and post here the ABE message you see in the Browser Console (Ctrl-Shift-J) when it not working.

Re: allow specific script failed

by Joe » Tue Sep 08, 2015 5:06 pm

The videos are not appearing in order to play them

Re: allow specific script failed

by barbaz » Tue Sep 08, 2015 2:37 pm

I meant in what way the ABE rule you tried not work?

Re: allow specific script failed

by joe » Tue Sep 08, 2015 10:33 am

In order to play the videos in these sites you must allow static.adman.gr there is no need tobe allowed anywhere else because adman.gr is an advertizement site basically.

Re: allow specific script failed

by barbaz » Mon Sep 07, 2015 8:47 pm

It's not the most optimal way to write that rule but I don't see any reason why it wouldn't work.
So in what way didn't it work? Can you please be more specific?

allow specific script failed

by Joe » Mon Sep 07, 2015 8:15 pm

I try to allow static.adman.gr only in the naftemporiki.gr and kathimerini.gr after reading the FAQ i try the following:
Site .static.adman.gr
Accept INCLUSION from SELF++
Accept INCLUSION from .naftemporiki.gr .kathimerini.gr
Deny
But i cannot make it work. Any ideas?

Top