Last active
July 25, 2021 05:25
-
-
Save jscher2000/1037c1e95015470289eb4241c3731fc5 to your computer and use it in GitHub Desktop.
Browser Console Script to Update Copy Link accelerator key to A (which also can be used for other context menu hotkeys)
Make sure you are using the Browser Console and not the in-tab Web Console
I've been using Firefox since I started learning how to code (back in college?) but I just learned today that the Browser Console (CTRL+SHIFT+J
) is not the same as in-tab Web Console (CTRL+SHIFT+I
).
The [program folder] referenced in the script is the directory where Firefox's program files are installed -- not profile specific.
Thanks for clarifying. So what I found out, in Linux this path is located in /usr/lib/firefox
(added files in /usr/lib/firefox/defaults/pref
)
EDIT:
was getting parse error and i realized the config.js
was on the wrong folder. Fixed by following steps above:
config-prefs.js
is located in/usr/lib/firefox/defaults/pref/
config.js
is in/usr/lib/firefox/
Followed your steps and it's working correctly now for me
Cheers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Make sure you are using the Browser Console and not the in-tab Web Console. https://developer.mozilla.org/docs/Tools/Browser_Console
You are using these files? https://www.userchrome.org/what-is-userchrome-js.html#combinedloader
The [program folder] referenced in the script is the directory where Firefox's program files are installed -- not profile specific. One way to discover that directory would be on the Troubleshooting Information page (about:support), in the first table, where the Application Binary is installed.