"Show differences" feature

Bug reports and enhancement requests
Post Reply
Coldblackice
Posts: 6
Joined: Thu Dec 12, 2013 4:35 am

"Show differences" feature

Post by Coldblackice »

Could we get a feature that shows the differences after allowing a particular site?

For example, let's say if I suddenly allow example.com, three new images appear, along with a new font. If I then clicked "Compare diffs", I'd be shown a list of the code required to load these new items.

I often have to temp-allow a site to see if it'll load the content I'm trying to get at (most often video players). But many times, I can't see where the differences are between page loads. I understand differences aren't always viewable via front-end, so it'd be great if we could get a feature that diff-compared the page's source between loads and shows us these highlighted differences.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20140610 Firefox/24.0 PaleMoon/24.6.2
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: "Show differences" feature

Post by Thrawn »

The page source is not actually different. NoScript just prevents scripts from running, it doesn't remove the tags from the page.

For viewing the contents of JavaScript, Firefox has a bunch of built-in tools, or you can using something like Firebug.
======
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:29.0) Gecko/20100101 Firefox/29.0
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: "Show differences" feature

Post by dhouwn »

Well, scripts might change the DOM, maybe that's what the OP meant but I really don't know how such a feature could be implemented, probably sort of like the Update Scanner extension at most.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0
Coldblackice
Posts: 6
Joined: Thu Dec 12, 2013 4:35 am

Re: "Show differences" feature

Post by Coldblackice »

dhouwn wrote:Well, scripts might change the DOM, maybe that's what the OP meant but I really don't know how such a feature could be implemented, probably sort of like the Update Scanner extension at most.
^This. I'm referring to when scripts load that further alter the page, adding to it.
Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: "Show differences" feature

Post by Thrawn »

This sounds pretty far away from NoScript core functionality, and not easy to do. It's more of a candidate for Firefox Developer Tools.
======
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 (Symbian/3; Series60/5.3 NokiaN8-00/111.030.0609; Profile/MIDP-2.1 Configuration/CLDC-1.1 ) AppleWebKit/533.4 (KHTML, like Gecko) NokiaBrowser/7.4.2.6 Mobile Safari/533.4 3gpp-gba
Post Reply