ClearClick and Mac OS X console logging

Ask for help about NoScript, no registration needed to post
somenoscriptuser
Posts: 3
Joined: Sun Dec 25, 2011 8:06 am

ClearClick and Mac OS X console logging

Post by somenoscriptuser »

Hello and Happy Holidays.

I use Firefox 9.0.1 with NoScript 2.2.4 on Mac OS X 10.6.8. In Console.app ClearClick events such as:

Code: Select all

25/12/2011 13:01:37	[0x0-0x35035].org.mozilla.firefox	[NoScript] [NoScript ClearClick] Swallowed event keyup on http://www.bbc.co.uk/news/ (rapid fire from http://edition.cnn.com in 400ms)
are logged when the Command-W shortcut is used to close a browser tab and go back to the previously active tab (even if the ClearClick warning setting is disabled, but as I understand it this is controlling the user pop-up message in Firefox itself). In this example the tab being closed was edition.cnn.com and the tab that became active was www.bbc.co.uk/news but it applies generally.

This does not happen when clicking File > Close Tab or when using the "x" tab close button. I haven't tried private browsing mode to see if it happens there but I will check that.

Is there some way to not have these logged to Console.app when Command-W is used?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
somenoscriptuser
Posts: 3
Joined: Sun Dec 25, 2011 8:06 am

Re: ClearClick and Mac OS X console logging

Post by somenoscriptuser »

Update: I tried private browsing mode and it can't be reproduced. After some more digging though I think the immediate solution is to set noscript.clearClick.rapidFireCheck to false in about:config. The implications of doing that I am not sure of yet.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: ClearClick and Mac OS X console logging

Post by Giorgio Maone »

Have you got any symptom beside the logged message?
If not, turning the preference back to true is advisable, since it protects against time-based clickjacking attacks.
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:9.0) Gecko/20100101 Firefox/9.0
somenoscriptuser
Posts: 3
Joined: Sun Dec 25, 2011 8:06 am

Re: ClearClick and Mac OS X console logging

Post by somenoscriptuser »

Hi Giorgio

No other symptom no, it's just that I'd prefer these not to go to the OS X console. A visible warning in the browser would be ok I guess but I'm so used to using Command-W instead of other ways to close a tab and it's odd it's only that that causes the logging. I guess it's the difference between the keystroke and the mouse actions. Thanks for the information, I guess I have to weigh up the options.

Keep up the fantastic work on the #1 add-on for Firefox.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Tom T.
Field Marshal
Posts: 3620
Joined: Fri Mar 20, 2009 6:58 am

Re: ClearClick and Mac OS X console logging

Post by Tom T. »

FWIW, I can't get a comparable error in Windows (XP, where the equivalent is Ctrl+Shift+W), so it's almost surely Mac-specific.
Thought: Since it's only on the keyboard shortcut, try changing the shortcut to something else, and see if it still happens?
Possible collision with another shortcut?
Update: I tried private browsing mode and it can't be reproduced
More leads, depending on how much time you want to devote to this. Does it work when both sites are allowed to set cookies? Both not?
History allowed, or not... you don't have to answer here; just offering some ways to isolate the trigger. The fact that it doesn't happen in Private Browsing is even odder than that it happens only on the keyboard and not on just closing the tab manually.

Agree that it seems harmless, but just some thoughts if you want to try to run it down.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.25) Gecko/20111212 Firefox/3.6.25
Post Reply