Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: add option to change button behavior to toggle vs menu #228

Open
shawnkhall opened this issue Feb 18, 2024 · 0 comments
Open
Assignees

Comments

@shawnkhall
Copy link

Please complete the following information when submitting a feature request or bug report.

  • Extension version: 7.1.6.2
  • Browser name & version: Chrome 122
  • Operating system & version: Win10 (mostly)

I'm mostly a keyboarder so when I have to use the mouse I want it to be as few clicks as possible. I tend to operate with a lot of tabs open. I collect a bunch of tabs on a subject to review and then move on to another project, confident that they'll suspend with MarvellousSuspender, and they do.

When I go back to review batches of tabs (usually about 15 to 20 at a time) most will be suspended and I can unsuspend them by clicking the main window, but I can't easily single-click to suspend them. When organizing tabs I will sometimes need to suspend and unsuspend dozens or even a hundred tabs in a short period as they're organized into tab groups for different projects. I'd really like a single button I can use to toggle the suspend state for the current page.

Currently I'm using this bookmarklet to suspend with a click:
javascript:loc=document.location.toString();if(loc.indexOf("chrome-extension://noogafoofpebimajpfpamcfhoaifemoa") == -1){document.location="chrome-extension://noogafoofpebimajpfpamcfhoaifemoa/suspended.html#ttl="+escape(document.title)+"&pos=0&uri="+loc;}else{document.location=loc.substr(loc.indexOf("&uri=")+5);}

This works to suspend, but as you can see it was written to operate as a toggle, but due to a javascript engine limitation it will not allow me to run a bookmarklet against a "chrome-extension:" protocol URL, so it can't be used to unsuspend the page.

I suggest a compromise: since I almost never use the Marvellous Suspender extension button, allow that to operate as a toggle for the suspend state. This should be an assignable option within the settings, and the context menu that currently shows on click would then be available from the context menu or from a right-click option instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants