New Edge Supported APIs

%3CLINGO-SUB%20id%3D%22lingo-sub-1474523%22%20slang%3D%22en-US%22%3ENew%20Edge%20Supported%20APIs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1474523%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20team%20%E2%99%A5%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3EThe%20docs%20says%20that%26nbsp%3Bmicrosoft-edge%26nbsp%3Bsupport%26nbsp%3B%3CSPAN%3EWebExtension%20API%20but%20it%20wont%20reconize%20the%20method%20brower%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-edge%2Fextensions%2Fapi-support%2Fsupported-apis%23runtime%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-edge%2Fextensions%2Fapi-support%2Fsupported-apis%23runtime%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20my%20code%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-javascript%22%3E%3CCODE%3Elet%20manifest%20%3D%20browser.runtime.getManifest()%3B%0Aconsole.log(manifest.version)%3B%0Aconsole.log(manifest.default_locale)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20the%20error%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20451px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F199515i7C737E24C33B188F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20anyone%20who%20could%20help%20me%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELOVE%20YOU%20ALL%20FAM%20%E2%99%A5%3C%2FP%3E%3CP%3E-ERR%3AREF-NOT-FOUND-%40Drew1903%26nbsp%3B%26nbsp%3B-ERR%3AREF-NOT-FOUND-%40fawkes%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi team ♥

 

The docs says that microsoft-edge support WebExtension API but it wont reconize the method brower

https://docs.microsoft.com/en-us/microsoft-edge/extensions/api-support/supported-apis#runtime

 

Here my code

 

let manifest = browser.runtime.getManifest();
console.log(manifest.version);
console.log(manifest.default_locale);

 

 

Here the error

image.png

 

Thanks for anyone who could help me

 

LOVE YOU ALL FAM ♥

@Drew1903  @fawkes 

0 Replies