X
Tap here to go to the mobile version of the site.

Support Forum

In my WebExtension, browser.tabs.update({url: "about:home"}); does not work but ... {url: "about:blank"} ... does. Why?

Posted

As above

browser.tabs.update({url: "about:home"}); does not work

but

browser.tabs.update({url: "about:blank"}); and browser.tabs.update({url: "https://developer.mozilla.org"});

both do work as expected.

I have read the stuff on tab and activeTab permissions and neither seems to address my problem

Thanks for any help (I am a WebExtension newbie & klutz)

As above browser.tabs.update({url: "about:home"}); does not work but browser.tabs.update({url: "about:blank"}); and browser.tabs.update({url: "https://developer.mozilla.org"}); both do work as expected. I have read the stuff on tab and activeTab permissions and neither seems to address my problem Thanks for any help (I am a WebExtension newbie & klutz)
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.4

More Information

Question owner

My WebExtension works correctly with Nightly Desktop, i.e. browser.tabs.update({url: "about:home"}); works correctly on FF Nightly Desktop but not on FF Nightly Android.

So, is this a bug in Android Nightly?

My WebExtension works correctly with Nightly Desktop, i.e. browser.tabs.update({url: "about:home"}); works correctly on FF Nightly Desktop but not on FF Nightly Android. So, is this a bug in Android Nightly?
Was this helpful to you? 2
Quote
Seburo
  • Top 25 Contributor
  • Moderator
385 solutions 2560 answers

Helpful Reply

Hi

We cant help you with this here, but I recommend you ask about this in the add-on forum, which can be found here.

Hi We cant help you with this here, but I recommend you ask about this in the add-on forum, which can be found [https://discourse.mozilla.org/c/add-ons here].
Was this helpful to you? 2
Quote

Question owner

Thanks, will do

Thanks, will do
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.