question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feature request: Adding new menu item in reader context menu

See original GitHub issue

I 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:closed
  • Created 3 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
panaCcommented, Jun 2, 2020

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.

0reactions
danielweckcommented, Aug 26, 2022

Moving this to a developer discussion

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found