feature request: Adding new menu item in reader context menu
See original GitHub issueI have added the context menu item for the reader window. There already one Inspect Element
menu entry for dev, I want another entry for a production build. What I’m trying to do is I want context menu item Add to Bookmark
and in the click, handler passes the IPC call to renderer process to call the add to bookmark action. But the menu item Add to bookmark
won’t appear.
I’ using the latest develop
branch.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
[Feature Request] Add context menus? · Issue #6717 - GitHub
Feature Request Hey, I would like to suggest that in the feature that already exists of enabling or disabling the extension you could...
Read more >chrome.contextMenus - Chrome Developers
Use the chrome.contextMenus API to add items to Google Chrome's context menu. You can choose what types of objects your context menu additions...
Read more >Add a context menu item in the Downloads Panel to "Open in ...
Status: I'm tracking down an issue where the context menu on PDF downloads in the all-downloads view alternates between having the system viewer...
Read more >Adding to browser context menu? - javascript - Stack Overflow
To make an element use this context menu, add the contextmenu="mymenu" attribute to it. You can see here that mymenu matches the id...
Read more >Add items to the viewer context menu
Adding context menu items. You add custom items to the viewer context menu by inserting a new record in the ViewerContextMenuItem table on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i don’t understand precisely what do you looking for.
But if you want to create a new menu in the top bar, our codebase is here : https://github.com/edrlab/thorium-reader/blob/694b9c63f22db039a1af055b637ea75d2b76ad99/src/main/redux/sagas/win/browserWindow/createReaderWindow.ts#L49
and then you can dispatch a main redux action on click.
it should work in prod env.
Moving this to a developer discussion