Page 1 of 1

NS breaks formatting on whitelisted page.

Posted: Fri Dec 17, 2010 5:30 am
by Teknorat
Page in question:
http://aioazech.net/index.html

I am running Firefox 3.6.13 and Noscript 2.0.8.1

Page appearance with noscript disabled:

http://imgur.com/VwESu.png

Page appearance with noscript enabled, site whitelisted:

http://imgur.com/kMSzT.png


In the error console I'm getting:

Warning: Error in parsing value for 'width'. Declaration dropped.
Source File: http://aioazech.net/css/style.css
Line: 79

and

Warning: Error in parsing value for 'width'. Declaration dropped.
Source File: http://aioazech.net/index.html
Line: 0


If the site is whitelisted I don't understand why noscript is still affecting it. This is the only site I've ever seen this behaviour on. I have tried disabling clearclick protection on whitelisted sites but to no effect.

Thank you to anyone taking the time to read this.

Re: NS breaks formatting on whitelisted page.

Posted: Fri Dec 17, 2010 6:05 am
by Alan Baxter
I can confirm the problem. Sorry, but I don't have any idea how to fix it. Giorgio will probably have to look at this one.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
NoScript 2.0.8.1rc1

Re: NS breaks formatting on whitelisted page.

Posted: Fri Dec 17, 2010 9:36 am
by Giorgio Maone
This seems a Firefox layout bug triggered by NoScript checking for visible links on document load when the noscript.jsredirectIgnore about:config preference is set to false (default).
I'm working around in next dev build, thank you.

In the meanwhile (if the page is yours) you may want to fix your two CSS bugs:
Source File: http://aioazech.net/css/style.css
Line: 79

Code: Select all

width: 250
(add "px", units for non-zero lengths are mandatory in every browser except IE)
Warning: Error in parsing value for 'width'. Declaration dropped.
Source File: http://aioazech.net/index.html
Line: 0
(you've got an inline broken "50 0px" width declaration, should be "500px" without spaces)

Re: NS breaks formatting on whitelisted page.

Posted: Fri Dec 17, 2010 9:41 am
by Teknorat
Not my site but I'll pass it along to the owner. Thanks for all your work on NoScript and for the future workaround.

Re: NS breaks formatting on whitelisted page.

Posted: Fri Dec 17, 2010 11:17 pm
by Giorgio Maone
Teknorat wrote:the future workaround.
Done in latest development build.