Page 1 of 2

Make text of block-popups copyable

Posted: Mon Dec 14, 2015 7:24 pm
by mabra
Hi !

In my use of Noscript, I get a lot of popup's, which show, what is blocked.
This is really great. In the moment I am starting to document, which
page shows what links/referrer (not in the html/http sense of this word).

It would be of great help, it the text, which has been pop-up-ed,
could be copied by mouse-clock (or something else).

These information are sometimes that long, that one need really
time, to re-type them into a notepad.

I hope, I was clear - this is clearly not a help request,
just a note about a nice useful feature.

Thanks anyway,
Manfred

Re: Make text of block-popups copyable

Posted: Mon Dec 14, 2015 9:24 pm
by barbaz
mabra wrote:I hope, I was clear
Sorry I have no idea what it is you want to be copy-able. Can you please post screenshot(s)?

(Some of the notifications from NoScript, e.g. ABE notifications [ viewtopic.php?f=10&t=21452 ], there is also more detailed information in the Browser Console (Ctrl-Shift-J) about the same incident - you can copy from the Browser Console...)

Re: Make text of block-popups copyable

Posted: Mon Dec 14, 2015 10:55 pm
by Thrawn
Perhaps you mean the yellow notification bar?

Re: Make text of block-popups copyable

Posted: Tue Dec 15, 2015 1:14 am
by therube
If its an actual popup, you may be able to Ctrl+C it even though there might not be any indication that anything has happened? Not sure, but worth a shot?

Re: Make text of block-popups copyable

Posted: Tue Dec 15, 2015 2:39 am
by mabra
Hi!

Thanks for your answer - sorry, if this was expressed not clear
enough. Yes, I mean the yellow popup. Now, I revisited one of the
pages and append the screenshot here.
Image
Thanks for the hint about the keys (Ctrl-Shift-J). Although there is SOMETING
of this popup, but really only a snippet.
As you can see - really something to type ... and yes, this is ABE.

Thanks anyway,
Manfred

Re: Make text of block-popups copyable

Posted: Tue Dec 15, 2015 3:32 am
by Thrawn
Er...that message from ABE shows that your Internet Service Provider - or your router, but probably your ISP - is tampering with your traffic to insert advertising banners. ABE is blocking them because since they're inserted by the ISP, they appear to be local intranet requests (but really they aren't).

You should check the terms and conditions of your internet service to determine whether they're allowed to do this. If they are, then you may want to consider another provider. If they aren't, then you should contact them to complain.

Re: Make text of block-popups copyable

Posted: Tue Dec 15, 2015 3:38 am
by therube
Is that logged in Error Console?
If so, you can grab it from there (assuming you open EC soon enough).
That button that reads 'Options', may even link you to it?

Re: Make text of block-popups copyable

Posted: Tue Dec 15, 2015 5:08 am
by barbaz
The first step to investigating what's the deal with that ABE alert is getting a DNS lookup of the site it's blocking. Can you please go to Windows Start menu > Command Prompt, type

Code: Select all

nslookup imagesrv.adition.com
and post here its output? (It should say both your DNS server's IP as well as the DNS lookup. If it says CNAME <someotherdomain>, please run nslookup on that other domain and repeat until you get one or more IP addresses.)

Re: Make text of block-popups copyable

Posted: Tue Dec 15, 2015 8:21 am
by mabra
Hi All !

Thanks for the feedback.

As I tried to tell: This is logged in the error console, but only as a hint [short], not the whole message. I wish
just that message. Other messages are in the log in a long form.

Dont worry about my IPS [which is indeed bad, but in another way ;-) ].

The root is javascript code an the visited website, which is like this:

Code: Select all

ifrm.setAttribute("src", utm268.data.pt_protocol + "[b]imagesrv.adition.com[/b]/banners/268/xml/utm/268/....
[just a snippet, incomplete]

The second cause is my blocking: I have configured my DNS to answer "imagesrv.adition.com"
[see url above] with a LAN address, which hosts a webserver, which logs the attempt to visit "imagesrv.adition.com".
Thats all. I am trying to build a big list of all blocked sites.

The ABE message so, is correct - the only thing I wish, is to get the whole url.
If I open the console, there are only some messages - the message, I've linked in the
image, for example, is only sometimes there, sometimes short, sometimes not.

For my purpose, it would be better to understand ABE and probably disable it to get a full log
from my own logging webserver. Because I dont understand the rules in the moment, I'll keep
ABE in this first step, to be protected. It will probably protect me better, logging is temporare.

Using my own webserver is probably the better in a longer term, because this works for all
webbrowsers and other http based tools too, but requires my own lists.

Thanks anyway,
Manfred

Re: Make text of block-popups copyable

Posted: Tue Dec 15, 2015 5:00 pm
by barbaz
IMO you would be better off configuring your DNS to return NXDOMAIN or 0.0.0.0 (ipv6 ::) to block sites. But if you don't want to do that, then you need to tell ABE not to treat your server's IP address as LOCAL... and I'm not sure how to do that...

Re: Make text of block-popups copyable

Posted: Tue Dec 15, 2015 5:19 pm
by mabra
Hello !

But I am using a local webserver, which has the charm, that I can log
the requesting webpage [referrer] and the destination together. My
webserver/dns thinggy is a mixture of blocking and logging and has
LAN scope.

I am currently at the level not to understand to configure ABE
and came to the temporary situation, that I just want the yellow
popup copyable ;-)

Regards,
Manfred

Re: Make text of block-popups copyable

Posted: Tue Dec 15, 2015 5:44 pm
by barbaz
This ABE rule change is the closest I can think of to a solution for your use case, no idea if it'll work or not:
NoScript Options > Advanced > ABE, add to the very top of SYSTEM ruleset

Code: Select all

Site <YOUR_SERVERS_IP>
Accept
This will not work if ABE doesn't use DNS lookup information to determine when to filter based on being given an IP address

Re: Make text of block-popups copyable

Posted: Tue Dec 15, 2015 10:17 pm
by mabra
Hi !

MUCH THANKS !

Yes, this works - the popups are away and my webserver is connected, logging
the page and all sources of the page, which attempt to make ads.

I have not understood the ABE rules before, my attempts have failed. I could
also not understand what USER/SYSTEM means.
Your tip works now.

Very good!

Thanks and best regards,
Manfred

Re: Make text of block-popups copyable

Posted: Tue Dec 15, 2015 11:10 pm
by barbaz
You're welcome! Image
Glad it worked!

Re: Make text of block-popups copyable

Posted: Thu Dec 17, 2015 3:16 am
by Thrawn
mabra wrote: I have not understood the ABE rules before, my attempts have failed.
That happens often. ABE can be hard to understand.
I could also not understand what USER/SYSTEM means.
They are simply names for the two rulesets.

The important thing is that after one ruleset has run, the other will always be run, and if either ruleset blocks the request, it is blocked. So, no matter what you do in the USER ruleset, the default rule in SYSTEM will keep working and protecting your LAN. If you want to make an exception to the default rule (as in this situation), then you need to edit the SYSTEM ruleset.