
How do I edit my .js file?
I need to add four lines, so that I can copy and paste, but when I open my .js file it won't let me. How do I add these four lines?
Chosen solution
Open js files in a text program like WordPad. Notepad doesn't usually do line wrap and make it harder to edit. And make sure that you don't disrupt for formatting of that file.
Read this answer in context 👍 0All Replies (3)
Chosen Solution
Open js files in a text program like WordPad. Notepad doesn't usually do line wrap and make it harder to edit. And make sure that you don't disrupt for formatting of that file.
What .js file are you talking about?
Is this about .js files in the Firefox profile folder?
Is this about adding pref lines to prefs.js or user.js?
Hi pam.butler24, if you are thinking of editing the prefs.js file (or a user.js file), that may not be what you want. Those changes are intended to provide websites permission to read and modify your clipboard. That shouldn't be necessary to use standard commands.
By standard commands, I mean:
- right-click > Copy -or- Ctrl+c
- right-click > Paste -or- Ctrl+v
If those commands are not working on a particular site, do you want to mention which one it is and which methods you've tried?
Also, if this is related to YouTube or Facebook, have you changed this setting in about:config:
dom.event.clipboardevents.enabled
That can have unexpected consequences.