Make text of block-popups copyable

Bug reports and enhancement requests
mabra
Posts: 7
Joined: Mon Dec 14, 2015 7:14 pm
Location: Brühl, Germany

Make text of block-popups copyable

Post 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
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
barbaz
Senior Member
Posts: 11109
Joined: Sat Aug 03, 2013 5:45 pm

Re: Make text of block-popups copyable

Post 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...)
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Make text of block-popups copyable

Post by Thrawn »

Perhaps you mean the yellow notification bar?
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0
User avatar
therube
Ambassador
Posts: 7972
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Make text of block-popups copyable

Post 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?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39
mabra
Posts: 7
Joined: Mon Dec 14, 2015 7:14 pm
Location: Brühl, Germany

Re: Make text of block-popups copyable

Post 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
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Make text of block-popups copyable

Post 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.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0
User avatar
therube
Ambassador
Posts: 7972
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Make text of block-popups copyable

Post 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?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39
barbaz
Senior Member
Posts: 11109
Joined: Sat Aug 03, 2013 5:45 pm

Re: Make text of block-popups copyable

Post 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.)
*Always* check the changelogs BEFORE updating that important software!
-
mabra
Posts: 7
Joined: Mon Dec 14, 2015 7:14 pm
Location: Brühl, Germany

Re: Make text of block-popups copyable

Post 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
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
barbaz
Senior Member
Posts: 11109
Joined: Sat Aug 03, 2013 5:45 pm

Re: Make text of block-popups copyable

Post 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...
*Always* check the changelogs BEFORE updating that important software!
-
mabra
Posts: 7
Joined: Mon Dec 14, 2015 7:14 pm
Location: Brühl, Germany

Re: Make text of block-popups copyable

Post 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
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
barbaz
Senior Member
Posts: 11109
Joined: Sat Aug 03, 2013 5:45 pm

Re: Make text of block-popups copyable

Post 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
*Always* check the changelogs BEFORE updating that important software!
-
mabra
Posts: 7
Joined: Mon Dec 14, 2015 7:14 pm
Location: Brühl, Germany

Re: Make text of block-popups copyable

Post 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
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
barbaz
Senior Member
Posts: 11109
Joined: Sat Aug 03, 2013 5:45 pm

Re: Make text of block-popups copyable

Post by barbaz »

You're welcome! Image
Glad it worked!
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Make text of block-popups copyable

Post 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.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0
Post Reply