Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I edit my .js file?

more options

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?

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?

Asịsa ahọpụtara

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.

Gụọ azịza a na nghọta 👍 0

All Replies (3)

more options

Asịsa Ahọpụtara

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.

more options

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?

more options

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.