MozillaZine


Set my extension homepage

Talk about add-ons and extension development.
mhs.prog
New Member
 
Posts: 1
Joined: March 12th, 2021, 1:34 pm

Post Posted March 12th, 2021, 1:40 pm

Hi
I want load my extension instead home page, I used below code, but not worked
Code: Select all
    "chrome_url_overrides" : {
        "newtab": "index.html"
    }

morat
 
Posts: 4838
Joined: February 3rd, 2009, 6:29 pm

Post Posted March 12th, 2021, 3:35 pm

Here is an example addon. The chrome_url_overrides key works for me. I loaded the example addon as a temporary extension using the about:debugging page.

Top Sites
http://github.com/mdn/webextensions-examples/tree/master/top-sites

chrome_url_overrides
http://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/manifest.json/chrome_url_overrides

about:debugging
http://developer.mozilla.org/docs/Tools/about:debugging

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 1 guest