thegreatsuspender | A chrome extension for suspending all tabs to free up memory | Browser Plugin library
kandi X-RAY | thegreatsuspender Summary
kandi X-RAY | thegreatsuspender Summary
A chrome extension for suspending all tabs to free up memory
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of thegreatsuspender
thegreatsuspender Key Features
thegreatsuspender Examples and Code Snippets
Community Discussions
Trending Discussions on thegreatsuspender
QUESTION
I'm trying to make my own version of this open source chrome extension. It's called The Great Suspender. Following is the GitHub link.
https://github.com/deanoemcke/thegreatsuspender/tree/master/src
The context menu has options like "Never suspend this URL." I scanned through all the source but couldn't find that written anywhere. So, where on Earth are the labels for these context menus coming from?
...ANSWER
Answered 2018-Nov-14 at 11:53Context menu items are created by some Chrome API. Let's look at the API index: https://developer.chrome.com/extensions/api_index
Aha, looks like chrome.contextMenus
API. So let's scan the repository for that.
We see code in the form of
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install thegreatsuspender
Download the latest available version and unarchive to your preferred location (whichever suits you).
Using Google Chrome browser, navigate to chrome://extensions/ and enable "Developer mode" in the upper right corner.
Click on the Load unpacked extension... button.
Browse to the src directory of the unarchived folder and confirm.
Clone the repository and run these commands:. The extension in crx format will be inside the build/crx/ directory. You can drag it into [extensions] (chrome://extensions) to install locally.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page