对象已移动

可在此处找到该文档 How to Get Extension Manifest Information – New Self New Life
New Self New Life
No Result
View All Result
  • Home
  • Entertainment
  • Celebrity
  • Cinema
  • Music
  • Digital Lifestyle
  • Social Media
  • Softwares
  • Devices
  • Home
  • Entertainment
  • Celebrity
  • Cinema
  • Music
  • Digital Lifestyle
  • Social Media
  • Softwares
  • Devices
New Self New Life
No Result
View All Result
Home Softwares

How to Get Extension Manifest Information

by admin
3 years ago
in Softwares
Object.entries
Share on FacebookShare on Twitter

Engaged on an online extension will be kinda wild — on one aspect you are primarily simply coding a web site, on the opposite aspect you are restricted to what the browser says you are able to do within the extension execution setting. One change in that setting is coming January 2023 — pushing extensions to maneuver to manifest model 3. I just lately obtained interested by whether or not different standard extensions had accomplished the model 3 replace.

Executing the next command within the background web page (manifest model 2) or service employee (model 3) will present you the extension’s manifest:

chrome.runtime.getManifest()

The getManifest name returns a big object detailing the extension’s manifest. This is what you’d see for the MetaMask browser extension:

{
    "creator": "https://metamask.io",
    "background": {
        "web page": "background.html",
        "persistent": true
    },
    "browser_action": {
        "default_icon": {
            "16": "photographs/icon-16.png",
            "19": "photographs/icon-19.png",
            "32": "photographs/icon-32.png",
            "38": "photographs/icon-38.png",
            "64": "photographs/icon-64.png",
        },
        "default_popup": "popup.html",
        "default_title": "MetaMask"
    },
    "instructions": {
        "_execute_browser_action": {
            "suggested_key": {
                "chromeos": "Alt+Shift+M",
                "linux": "Alt+Shift+M",
                "mac": "Alt+Shift+M",
                "home windows": "Alt+Shift+M"
            }
        }
    },
    "content_scripts": [
        {
            "all_frames": true,
            "js": [
                "disable-console.js",
                "globalthis.js",
                "lockdown-install.js",
                "lockdown-run.js",
                "lockdown-more.js",
                "contentscript.js"
            ],
            "matches": [
                "file://*/*",
                "http://*/*",
                "https://*/*"
            ],
            "run_at": "document_start"
        }
    ],
    "current_locale": "en_US",
    "default_locale": "en",
    "description": "An Ethereum Pockets in your Browser",
    "externally_connectable": {
        "ids": [
            "*"
        ],
        "matches": [
            "https://metamask.io/*"
        ]
    },
    "icons": {
        "16": "photographs/icon-16.png",
        "19": "photographs/icon-19.png",
        "32": "photographs/icon-32.png",
        "38": "photographs/icon-38.png",
        "48": "photographs/icon-48.png",
        "64": "photographs/icon-64.png",
    },
    "manifest_version": 2,
    "minimum_chrome_version": "66",
    "identify": "MetaMask",
    "permissions": [
        "storage",
        "unlimitedStorage",
        "clipboardWrite",
        "http://localhost:8545/",
        "https://*.infura.io/",
        "https://lattice.gridplus.io/*",
        "activeTab",
        "webRequest",
        "*://*.eth/",
        "notifications"
    ],
    "short_name": "MetaMask",
    "update_url": "https://clients2.google.com/service/update2/crx",
    "model": "10.16.1"
}

Lots of internet extensions are nonetheless utilizing manifest model 2, so many extension builders are pushing to complete manifest model 3 work!

Website performance monitoring
Website performance monitoring


Source link
Tags: ExtensionInformationManifest
Previous Post

Best LED Flashlights in The Market: Honest Expert Reviews

Next Post

Cookout Members Worry Show Back to Racist Ways

Related Posts

User Guide for Odoo MultiChannel Email Marketing
Softwares

User Guide for Odoo MultiChannel Email Marketing

by admin
July 6, 2025
Avoid these common platform engineering mistakes
Softwares

Avoid these common platform engineering mistakes

by admin
July 4, 2025
Meta slams ‘incorrect and unlawful’ EU DMA ruling
Softwares

Meta slams ‘incorrect and unlawful’ EU DMA ruling

by admin
July 3, 2025
Best Practices, Tools, xUnit, and NUnit Framework
Softwares

Best Practices, Tools, xUnit, and NUnit Framework

by admin
July 1, 2025
Start up crash fix – Vivaldi iOS Browser snapshot 3737.4
Softwares

Start up crash fix – Vivaldi iOS Browser snapshot 3737.4

by admin
June 30, 2025
Next Post
Cookout Members Worry Show Back to Racist Ways

Cookout Members Worry Show Back to Racist Ways

Guide for Magento 2 Shopware Connector

Guide for Magento 2 Shopware Connector

  • Trending
  • Comments
  • Latest
All the glamorous celebrity looks from the Jeff Bezos, Lauren Sánchez wedding – National

All the glamorous celebrity looks from the Jeff Bezos, Lauren Sánchez wedding – National

June 28, 2025
‘America is back’: Foo Fighters show hits 100% capacity at Madison Square Garden – National

‘America is back’: Foo Fighters show hits 100% capacity at Madison Square Garden – National

June 22, 2021
How to integrate Odoo with ReactJs frontend

How to integrate Odoo with ReactJs frontend

October 7, 2024
Kanye West entry visa revoked by Australia after ‘Heil Hitler’ song release – National

Kanye West entry visa revoked by Australia after ‘Heil Hitler’ song release – National

July 3, 2025
Indiana Evans: What happened to the H2O Australian actress Indiana Evans and what is she doing now? | Explainer

Indiana Evans: What happened to the H2O Australian actress Indiana Evans and what is she doing now? | Explainer

December 7, 2024
Jane Withers, child actor and commercial star, dies at 95 – National

Jane Withers, child actor and commercial star, dies at 95 – National

August 10, 2021
18 Best Political Series on Netflix, Ranked

18 Best Political Series on Netflix, Ranked

March 25, 2025
Games teach kids climate action

Games teach kids climate action

January 23, 2024
Hip-Hop Artists We Lost in 2025

Hip-Hop Artists We Lost in 2025

July 6, 2025
$49 Align Styles and More Steals Starting at $19

$49 Align Styles and More Steals Starting at $19

July 6, 2025
Queen Mary of Denmark stuns in the staple of the summer

Queen Mary of Denmark stuns in the staple of the summer

July 6, 2025
Countdown Episode 5 Release Date, Time, Where to Watch

Countdown Episode 5 Release Date, Time, Where to Watch

July 6, 2025
App Cast: Android’s Rival To Apple’s Handoff Feature Spotted

App Cast: Android’s Rival To Apple’s Handoff Feature Spotted

July 6, 2025
Latest Sales Data Reveal Clear Winners And Losers in a Messy EV Market

Latest Sales Data Reveal Clear Winners And Losers in a Messy EV Market

July 5, 2025
Critics And Fans Disagree On Netflix’s Controversial Fantasy Show With Near-Perfect RT Score

Critics And Fans Disagree On Netflix’s Controversial Fantasy Show With Near-Perfect RT Score

July 5, 2025
Nip/Tuck Star Julian McMahon Dead at 56 After Private Cancer Battle

Nip/Tuck Star Julian McMahon Dead at 56 After Private Cancer Battle

July 5, 2025
New Self New Life

Your source for entertainment news, celebrities, celebrity news, and Music, Cinema, Digital Lifestyle and Social Media and More !

Categories

  • Celebrity
  • Cinema
  • Devices
  • Digital Lifestyle
  • Entertainment
  • Music
  • Social Media
  • Softwares
  • Uncategorized

Recent Posts

  • Hip-Hop Artists We Lost in 2025
  • $49 Align Styles and More Steals Starting at $19
  • Queen Mary of Denmark stuns in the staple of the summer
  • Home
  • Disclaimer
  • DMCA
  • Privacy Policy
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact us

Copyright © 2021 New Self New Life.
New Self New Life is not responsible for the content of external sites. slotsfree  creator solana token

No Result
View All Result
  • Home
  • Entertainment
  • Celebrity
  • Cinema
  • Music
  • Digital Lifestyle
  • Social Media
  • Softwares
  • Devices

Copyright © 2021 New Self New Life.
New Self New Life is not responsible for the content of external sites.

New Self New Life