How to check if extension/add-on used in Mozilla Firefox is a new tab extension? The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceHow to check empty/undefined/null string in JavaScript?How do I check if an element is hidden in jQuery?How do I check if an array includes an object in JavaScript?Why does parseInt yield NaN with Array#map?How do you check if a variable is an array in JavaScript?How to check whether a string contains a substring in JavaScript?How to check for “undefined” in JavaScript?How to check if an object is an array?Open a URL in a new tab (and not a new window) using JavaScriptHow can I add new array elements at the beginning of an array in Javascript?

Typeface like Times New Roman but with "tied" percent sign

Sort list of array linked objects by keys and values

Can undead you have reanimated wait inside a portable hole?

Does the AirPods case need to be around while listening via an iOS Device?

How is simplicity better than precision and clarity in prose?

How do you keep chess fun when your opponent constantly beats you?

How can I protect witches in combat who wear limited clothing?

Why can't devices on different VLANs, but on the same subnet, communicate?

Is there a writing software that you can sort scenes like slides in PowerPoint?

Does Parliament hold absolute power in the UK?

Was credit for the black hole image misattributed?

Match Roman Numerals

Arduino Pro Micro - switch off LEDs

Can a novice safely splice in wire to lengthen 5V charging cable?

Why is superheterodyning better than direct conversion?

How many people can fit inside Mordenkainen's Magnificent Mansion?

Problems with Ubuntu mount /tmp

Semisimplicity of the category of coherent sheaves?

Why not take a picture of a closer black hole?

Take groceries in checked luggage

Difference between "generating set" and free product?

Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?

Wall plug outlet change

system() function string length limit



How to check if extension/add-on used in Mozilla Firefox is a new tab extension?



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
The Ask Question Wizard is Live!
Data science time! April 2019 and salary with experienceHow to check empty/undefined/null string in JavaScript?How do I check if an element is hidden in jQuery?How do I check if an array includes an object in JavaScript?Why does parseInt yield NaN with Array#map?How do you check if a variable is an array in JavaScript?How to check whether a string contains a substring in JavaScript?How to check for “undefined” in JavaScript?How to check if an object is an array?Open a URL in a new tab (and not a new window) using JavaScriptHow can I add new array elements at the beginning of an array in Javascript?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I can't find out how to check if the extension used in Mozilla Firefox is a new tab extension.



It works for Google Chrome. I am using the following code in my Google Chrome extension while using webextension-polyfill to be cross-platform compatible👇



import browser from 'webextension-polyfill'

const results = await browser.management.getAll()
extensions = results.filter(extension =>
extension.permissions.includes('newTabPageOverride'),
)


This does not work in Firefox as it does not have a special type like newTabPageOverride in permissions array



How can I find out which extension is a New Tab Extension in Mozilla Firefox?










share|improve this question
























  • newTabPageOverride is a non-documented internal hack in Chrome, which is probably why it wasn't implemented in Firefox. You can file a feature request on bugzil.la, if it's not already submitted.

    – wOxxOm
    Mar 8 at 13:43











  • @wOxxOm so is there no way to do it in Firefox?

    – deadcoder0904
    Mar 8 at 14:49











  • I also filed a feature request on bugzilla

    – deadcoder0904
    Mar 9 at 7:21











  • So I guess it isn't gonna happen as they closed the issue & would re-open it someday in the future

    – deadcoder0904
    Mar 15 at 12:14

















0















I can't find out how to check if the extension used in Mozilla Firefox is a new tab extension.



It works for Google Chrome. I am using the following code in my Google Chrome extension while using webextension-polyfill to be cross-platform compatible👇



import browser from 'webextension-polyfill'

const results = await browser.management.getAll()
extensions = results.filter(extension =>
extension.permissions.includes('newTabPageOverride'),
)


This does not work in Firefox as it does not have a special type like newTabPageOverride in permissions array



How can I find out which extension is a New Tab Extension in Mozilla Firefox?










share|improve this question
























  • newTabPageOverride is a non-documented internal hack in Chrome, which is probably why it wasn't implemented in Firefox. You can file a feature request on bugzil.la, if it's not already submitted.

    – wOxxOm
    Mar 8 at 13:43











  • @wOxxOm so is there no way to do it in Firefox?

    – deadcoder0904
    Mar 8 at 14:49











  • I also filed a feature request on bugzilla

    – deadcoder0904
    Mar 9 at 7:21











  • So I guess it isn't gonna happen as they closed the issue & would re-open it someday in the future

    – deadcoder0904
    Mar 15 at 12:14













0












0








0








I can't find out how to check if the extension used in Mozilla Firefox is a new tab extension.



It works for Google Chrome. I am using the following code in my Google Chrome extension while using webextension-polyfill to be cross-platform compatible👇



import browser from 'webextension-polyfill'

const results = await browser.management.getAll()
extensions = results.filter(extension =>
extension.permissions.includes('newTabPageOverride'),
)


This does not work in Firefox as it does not have a special type like newTabPageOverride in permissions array



How can I find out which extension is a New Tab Extension in Mozilla Firefox?










share|improve this question
















I can't find out how to check if the extension used in Mozilla Firefox is a new tab extension.



It works for Google Chrome. I am using the following code in my Google Chrome extension while using webextension-polyfill to be cross-platform compatible👇



import browser from 'webextension-polyfill'

const results = await browser.management.getAll()
extensions = results.filter(extension =>
extension.permissions.includes('newTabPageOverride'),
)


This does not work in Firefox as it does not have a special type like newTabPageOverride in permissions array



How can I find out which extension is a New Tab Extension in Mozilla Firefox?







javascript google-chrome-extension firefox-addon firefox-addon-sdk firefox-webextensions






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 9 at 6:55







deadcoder0904

















asked Mar 8 at 13:29









deadcoder0904deadcoder0904

821645




821645












  • newTabPageOverride is a non-documented internal hack in Chrome, which is probably why it wasn't implemented in Firefox. You can file a feature request on bugzil.la, if it's not already submitted.

    – wOxxOm
    Mar 8 at 13:43











  • @wOxxOm so is there no way to do it in Firefox?

    – deadcoder0904
    Mar 8 at 14:49











  • I also filed a feature request on bugzilla

    – deadcoder0904
    Mar 9 at 7:21











  • So I guess it isn't gonna happen as they closed the issue & would re-open it someday in the future

    – deadcoder0904
    Mar 15 at 12:14

















  • newTabPageOverride is a non-documented internal hack in Chrome, which is probably why it wasn't implemented in Firefox. You can file a feature request on bugzil.la, if it's not already submitted.

    – wOxxOm
    Mar 8 at 13:43











  • @wOxxOm so is there no way to do it in Firefox?

    – deadcoder0904
    Mar 8 at 14:49











  • I also filed a feature request on bugzilla

    – deadcoder0904
    Mar 9 at 7:21











  • So I guess it isn't gonna happen as they closed the issue & would re-open it someday in the future

    – deadcoder0904
    Mar 15 at 12:14
















newTabPageOverride is a non-documented internal hack in Chrome, which is probably why it wasn't implemented in Firefox. You can file a feature request on bugzil.la, if it's not already submitted.

– wOxxOm
Mar 8 at 13:43





newTabPageOverride is a non-documented internal hack in Chrome, which is probably why it wasn't implemented in Firefox. You can file a feature request on bugzil.la, if it's not already submitted.

– wOxxOm
Mar 8 at 13:43













@wOxxOm so is there no way to do it in Firefox?

– deadcoder0904
Mar 8 at 14:49





@wOxxOm so is there no way to do it in Firefox?

– deadcoder0904
Mar 8 at 14:49













I also filed a feature request on bugzilla

– deadcoder0904
Mar 9 at 7:21





I also filed a feature request on bugzilla

– deadcoder0904
Mar 9 at 7:21













So I guess it isn't gonna happen as they closed the issue & would re-open it someday in the future

– deadcoder0904
Mar 15 at 12:14





So I guess it isn't gonna happen as they closed the issue & would re-open it someday in the future

– deadcoder0904
Mar 15 at 12:14












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55064239%2fhow-to-check-if-extension-add-on-used-in-mozilla-firefox-is-a-new-tab-extension%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55064239%2fhow-to-check-if-extension-add-on-used-in-mozilla-firefox-is-a-new-tab-extension%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

1928 у кіно

Захаров Федір Захарович

Ель Греко