MozillaZine

Make New Tab use local Home Page

Discussion of general topics about Mozilla Firefox
flaneurb
 
Posts: 619
Joined: December 10th, 2011, 3:50 am

Post Posted January 13th, 2018, 7:01 am

Gingerbread Man wrote:Edit: Bug 1426438 landed today, removing the underlying code this method relies on. It no longer works starting with Firefox 59.
...

Well, that's a pity. Thanks anyway for the code while it works.

Gingerbread Man

User avatar
 
Posts: 7743
Joined: January 30th, 2007, 10:55 am

Post Posted January 15th, 2018, 7:53 pm

You can use a userChrome script instead. If you don't have userChrome.js set up, be sure to read the Usage section first.
As for the script itself, change the value of the mypage constant to the actual URL. If you're loading some kind of search page, also set the removefocus variable to yes. clearlocationbar should probably be left as-is, but it's an option in case it's needed.
:arrow: https://luke-baker.github.io

You're welcome.

flaneurb
 
Posts: 619
Joined: December 10th, 2011, 3:50 am

Post Posted January 15th, 2018, 8:44 pm

Well, it maybe just a matter of time before that goes away as well according to https://www.ghacks.net/2017/11/24/run-u ... -or-newer/
The release of Firefox 57 blocks extensions like userChrome.js. Someone figured out how to restore the functionality in Firefox 57 and newer versions.

It needs to be noted that Mozilla may plug this hole at any time, and that scripts may stop working because of that eventually.

Gingerbread Man

User avatar
 
Posts: 7743
Joined: January 30th, 2007, 10:55 am

Post Posted January 17th, 2018, 1:21 am

I'm aware the developers have repeatedly expressed interest in killing off userChrome.css, which would also put an end to userChrome.js scripts. For now, they still work in Nightly, so at the very least they'll work in Firefox 59.

Lejomoz
 
Posts: 13
Joined: December 8th, 2014, 3:33 am

Post Posted January 18th, 2018, 9:13 am

@Gingerbread Man

Your website is amazing, very good tweaks in there.
and if i may ask, is it possible to add close buttons right to the tabs titles in "List all tabs" menu by using the userChrome.js and userChrome.css?

Gingerbread Man

User avatar
 
Posts: 7743
Joined: January 30th, 2007, 10:55 am

Post Posted January 18th, 2018, 7:26 pm

It should be possible with userChrome.js, but I don't know how, sorry. Multiple Tab Handler can do that though.

Benjamin Markson

User avatar
 
Posts: 365
Joined: November 19th, 2011, 3:57 am
Location: en-GB

Post Posted March 14th, 2018, 10:45 am

Gingerbread Man wrote:Edit: Bug 1426438 landed today, removing the underlying code this method relies on. It no longer works starting with Firefox 59.

Which has come to pass. Indeed, my FF59 wouldn't even start until I commented out the NewTabURL.override fix, so, I've gone back to New Tab Override and, the hoop-jumping and gymnastics in my original post.

Ben.
XUL is dead. Long live the Google Chrome Clones.

Return to Firefox General


Who is online

Users browsing this forum: No registered users and 5 guests