[Fixed] NoScript Interferes w/ Home Button when about:blank

Bug reports and enhancement requests
Post Reply
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

[Fixed] NoScript Interferes w/ Home Button when about:blank

Post by therube »

NoScript Interferes with Home Button when set to about:blank

Set your home page to about:blank
Visit https://www.yahoo.com
Hit your Home button

Note that a bunch of icons clear from the URLbar; 3 little dots, some sort of down arrow thing, & a star.

Oh, isn't that interesting.
What I think is happening is the page does "load" about:blank, but it just doesn't "blank out".

Anyhow, if you hit the Home button a second (maybe a third) time, the page does show blank.


Don't know if about:blank is in NoScript's whitelist ? or even how to determine if it is or is not ? or how to add it if I wanted to?


FF 60
NoScript 10
(credit to Grumpus. & mightyglydd for mentioning NoScript)



Mozillazine thread, Double and triple clicks to clear window (Linux) Not yet..
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; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 Lightning/5.4
skriptimaahinen
Master Bug Buster
Posts: 244
Joined: Wed Jan 10, 2018 7:37 am

Re: NoScript Interferes with Home Button when about:blank

Post by skriptimaahinen »

Sigh, why is FF 60 breakin so many things with NS...

Anyhow, not a NS bug. Apparently having content CSS matching about:blank and running at document_start is what breaks the page refreshing when navigating to about:blank. The CSS file doesn't even need to have anything in it!
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
David_L
Posts: 18
Joined: Fri Dec 29, 2017 5:53 pm

Re: NoScript Interferes with Home Button when about:blank

Post by David_L »

skriptimaahinen wrote:... having content CSS matching about:blank and running at document_start ...
Can you explain in more detail what that means? Is this a reported Firefox bug? Is there a workaround?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: NoScript Interferes with Home Button when about:blank

Post by therube »

why is FF ... breakin so many things
Because it is not evolving it is changing.
With all kinds of (relatively) untold changes between versions, additions, deletions, ..., that an extension author essentially has to have a corresponding extension version for every different FF version (not to mention actually physically making the changes to account for the changes made in FF itself).

IOW, it's a no-win situation. You hope for stability, but you'll never know if you have 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 5.1; rv:52.0) Gecko/20100101 SeaMonkey/2.49.3
skriptimaahinen
Master Bug Buster
Posts: 244
Joined: Wed Jan 10, 2018 7:37 am

Re: NoScript Interferes with Home Button when about:blank

Post by skriptimaahinen »

@David_L: Unfortunately it's a internal webextension thing - nothing that end user can do about. Giorgio could make a workaround, but the problem is quite benign and simply refreshing clears it, so it likely doesn't warrant one. Better just wait for a FF fix. Can't find related report on Bugzilla though. Gues I might need to make one.

@therube: Aren't you on a positive mood today? :)
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: NoScript Interferes with Home Button when about:blank

Post by therube »

Heh, yeah. Every so often it's good to throw out a little rant to keep things entertaining ;-).
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 5.1; rv:52.0) Gecko/20100101 SeaMonkey/2.49.3
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: NoScript Interferes with Home Button when about:blank

Post by therube »

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; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: [Fixed] NoScript Interferes w/ Home Button when about:bl

Post by therube »

A little bump...

While NoScript implemented a work-around to account for this,
FF 61 now offers (after a long absence) a setting for "Home page and new windows" (& "New tabs") of -> "Blank Page".

And while "Blank Page" does in fact give you a blank page (hurray!), a setting of "Blank Page" I'll assume is not checked for in NoScript's work-around, & as the underlying bug is not fixed, so using FF's new "Blank Page" setting causes the issue to manifest itself, again.

A work-around to the work-around to the bug, would be to select a "Custom URLs..." & set it to about:blank (rather then "Blank Page").
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; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4
skriptimaahinen
Master Bug Buster
Posts: 244
Joined: Wed Jan 10, 2018 7:37 am

Re: [Fixed] NoScript Interferes w/ Home Button when about:bl

Post by skriptimaahinen »

It happens again? The workaround should be still OK, as we don't really "select" the blank page in any way, we just stopped doing what was causing the bug. But if it's happening again, that means there is a new trigger for the bug. Cannot test myself as the newest FF has not yet landed on the Ubuntu repos, but will report back as soon as it does.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: [Fixed] NoScript Interferes w/ Home Button when about:bl

Post by therube »

I could have sworn I saw this.
But after your post, I went back & looked again & was unable to duplicate.
I'll keep looking...
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 5.1; rv:52.0) Gecko/20100101 SeaMonkey/2.49.3
Post Reply