#StackBounty: #google-chrome #context-menu Disable "Back" in Chrome's context menu

Bounty: 50

I’m using chrome and like to right click links, then select ‘Open in new tab’. If I slightly mis-click, the regular context menu opens instead, and as its top item is ‘Back’, such occurs, much to my annoyance.

If ‘Back’ and ‘Forward’ were switched, so the top item were ‘Forward’ (thus most of the time disabled), this would not be a problem. I’d also be happy to remove ‘Back’ altogether.

Ctrl+click is not a solution as it requires two hands, which I do not always want to spare (e.g. when busy facepalming). Middle click is a solution, but a bit cumbersome, and I would prefer to instead customize the browser.


Get this bounty!!!

#StackBounty: #google-chrome #context-menu Disable "Back" in Chrome's context menu

Bounty: 50

I’m using chrome and like to right click links, then select ‘Open in new tab’. If I slightly mis-click, the regular context menu opens instead, and as its top item is ‘Back’, such occurs, much to my annoyance.

If ‘Back’ and ‘Forward’ were switched, so the top item were ‘Forward’ (thus most of the time disabled), this would not be a problem. I’d also be happy to remove ‘Back’ altogether.

Ctrl+click is not a solution as it requires two hands, which I do not always want to spare (e.g. when busy facepalming). Middle click is a solution, but a bit cumbersome, and I would prefer to instead customize the browser.


Get this bounty!!!

#StackBounty: #google-chrome #context-menu Disable "Back" in Chrome's context menu

Bounty: 50

I’m using chrome and like to right click links, then select ‘Open in new tab’. If I slightly mis-click, the regular context menu opens instead, and as its top item is ‘Back’, such occurs, much to my annoyance.

If ‘Back’ and ‘Forward’ were switched, so the top item were ‘Forward’ (thus most of the time disabled), this would not be a problem. I’d also be happy to remove ‘Back’ altogether.

Ctrl+click is not a solution as it requires two hands, which I do not always want to spare (e.g. when busy facepalming). Middle click is a solution, but a bit cumbersome, and I would prefer to instead customize the browser.


Get this bounty!!!

#StackBounty: #google-chrome #context-menu Disable "Back" in Chrome's context menu

Bounty: 50

I’m using chrome and like to right click links, then select ‘Open in new tab’. If I slightly mis-click, the regular context menu opens instead, and as its top item is ‘Back’, such occurs, much to my annoyance.

If ‘Back’ and ‘Forward’ were switched, so the top item were ‘Forward’ (thus most of the time disabled), this would not be a problem. I’d also be happy to remove ‘Back’ altogether.

Ctrl+click is not a solution as it requires two hands, which I do not always want to spare (e.g. when busy facepalming). Middle click is a solution, but a bit cumbersome, and I would prefer to instead customize the browser.


Get this bounty!!!

#StackBounty: #google-chrome #context-menu Disable "Back" in Chrome's context menu

Bounty: 50

I’m using chrome and like to right click links, then select ‘Open in new tab’. If I slightly mis-click, the regular context menu opens instead, and as its top item is ‘Back’, such occurs, much to my annoyance.

If ‘Back’ and ‘Forward’ were switched, so the top item were ‘Forward’ (thus most of the time disabled), this would not be a problem. I’d also be happy to remove ‘Back’ altogether.

Ctrl+click is not a solution as it requires two hands, which I do not always want to spare (e.g. when busy facepalming). Middle click is a solution, but a bit cumbersome, and I would prefer to instead customize the browser.


Get this bounty!!!

#StackBounty: #google-chrome #context-menu Disable "Back" in Chrome's context menu

Bounty: 50

I’m using chrome and like to right click links, then select ‘Open in new tab’. If I slightly mis-click, the regular context menu opens instead, and as its top item is ‘Back’, such occurs, much to my annoyance.

If ‘Back’ and ‘Forward’ were switched, so the top item were ‘Forward’ (thus most of the time disabled), this would not be a problem. I’d also be happy to remove ‘Back’ altogether.

Ctrl+click is not a solution as it requires two hands, which I do not always want to spare (e.g. when busy facepalming). Middle click is a solution, but a bit cumbersome, and I would prefer to instead customize the browser.


Get this bounty!!!

#StackBounty: #windows-10 #python #script #windows-registry #context-menu Double Click File to Run with Specific Python Script (Windows…

Bounty: 50

In Windows 10, is it possible to make a file with a specific extension run with a given Python script? For example, I have .pickle files saved, and I wrote a simple Python script to print them out. I would like to double click on the .pickle file and have the Python script that prints it run.

I was able to create a context menu entry that successfully did this. For example, this simple Python script named view_pickle_file.py:

import pickle
import sys

filename = sys.argv[1]
print(filename)

var = pickle.load(open(filename, 'rb'))

print(type(var))
if type(var) == list:
  print(len(var))
  for ii, value in enumerate(var):
    print(ii, value)
elif type(var) == dict:
  print(len(var))
  for key, val in var.items():
    print(key, val, sep="t")
elif type(var) == set:
  print(len(var))
  for ii in var:
    print(ii)
else:
  print(var)

input("Press enter")

And the registry key at ComputerHKEY_CLASSES_ROOTSystemFileAssociations.pickleshellViewcommand with a (Default) REG_SZ Data value of "C:Program FilesPythonPython38python.exe" "C:ScriptsPythonview_pickle_file.py" "%1":

creates:

enter image description here

which prints out the pickle file perfectly.

But this is a context menu entry. I want to double click the .pickle file to make this happen. How would I do that? Is it possible? Or is the context menu entry as close as I will ever get?


Get this bounty!!!