close-tab-by-double-right-click icon indicating copy to clipboard operation
close-tab-by-double-right-click copied to clipboard

Make action configurable and include refresh

Open alerque opened this issue 8 years ago • 1 comments

Since the FF57+ switch to WebExtentions I've been looking for a replacement to Reload Tab on Double-Click which made it a lot easier to reload a tab you just switched to. Often the first thing I want to do after switching to a tab is reload it, and with my mouse already on the tab header double clicking it was a super effective way to make this happen.

I understand why WE won't allow exactly the same functionality since you can't intercept events on the UI chrome, but perhaps using the page canvas would be a near second.

Would making a double right/left click with configurable actions for close vs. refresh be possible for this extension? I don't care about close, but if the action was configurable to be refresh instead it might work well for me and others.

alerque avatar Feb 05 '18 09:02 alerque

@alerque Yes, it would be possible to make it configurable.

And since we are talking about it, before implementing it just for this use case, I would like to think about what all common useful operations can be there.

Here's a list of things I could quickly think of:

  • Close Tab
  • Refresh Page
  • Refresh Page without cache
  • Copy current page's URL to clipboard
  • Duplicate Tab
  • View Page Source
  • Inspect (Open Developer Tools)
  • Print page
  • Back
  • Forward
  • Close other tabs
  • Close tabs to the left
  • Close tabs to the right
  • Close window
  • Pin/unpin tab
  • Open new tab
  • Open recently closed tab
  • Open this tab in "Private Browsing"/"Incognito" window
  • Zoom In
  • Zoom out
  • Zoom to Normal
  • Save Page
  • Go to a particular URL (eg: http://localhost/project/index.php)
  • Bookmark page (say, under a read-it-later folder)
  • Clear last 10-minute browser history
  • Clear last 1-hour browser history
  • Clear cookies for this page/domain
  • Take webpage's screenshot
  • Toggle fullscreen (I'll edit this comment if I can think of any more possible use-cases)

Some of these may not be possible to do. Some of these may take time to implement and can be done later.

The ones which are easy to implement can be done along with "Close Tab" and "Refresh Tab".

Note: Triple-right-click gesture (and/or some other gestures) might be added as well.

webextensions avatar Feb 09 '18 19:02 webextensions