Page 1 of 1

"Show differences" feature

Posted: Thu Jun 19, 2014 10:12 pm
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.

Re: "Show differences" feature

Posted: Fri Jun 20, 2014 4:54 am
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.

Re: "Show differences" feature

Posted: Fri Jun 27, 2014 9:10 pm
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.

Re: "Show differences" feature

Posted: Sat Jun 28, 2014 1:02 am
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.

Re: "Show differences" feature

Posted: Sat Jun 28, 2014 10:35 am
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.