This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

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

Firefox prevents me from copying and pasting content from websites. How do I fix this problem?

  • 11 ردًا
  • 8 have this problem
  • 1419 views
  • آخر ردّ كتبه cor-el

more options

When I enter this website, there are certain areas that FIrefox will allow me to copy and paste. However, if the content is located within frames, I get a message that indicates that Copy/Cut/Paste options are unavailable in Mozilla and Firefox. Then, the information box asks me if I want more information or to cancel the request. When I ask for more information, the system offers information about altering the preferences; however, those steps don't appear to work for me. Please help.

Thanks.

When I enter this website, there are certain areas that FIrefox will allow me to copy and paste. However, if the content is located within frames, I get a message that indicates that Copy/Cut/Paste options are unavailable in Mozilla and Firefox. Then, the information box asks me if I want more information or to cancel the request. When I ask for more information, the system offers information about altering the preferences; however, those steps don't appear to work for me. Please help. Thanks.

الحل المُختار

What steps did you try -- editing prefs.js or user.js?

My recommendation would be to use the Windows shortcuts for cut, copy, and paste: Ctrl+x, Ctrl+c, and Ctrl+v. You might also use the right-click context menu for these actions. On most websites, you don't really need to use their buttons for these features.

Read this answer in context 👍 3

All Replies (11)

more options

الحل المُختار

What steps did you try -- editing prefs.js or user.js?

My recommendation would be to use the Windows shortcuts for cut, copy, and paste: Ctrl+x, Ctrl+c, and Ctrl+v. You might also use the right-click context menu for these actions. On most websites, you don't really need to use their buttons for these features.

more options

I tried both of those options. Thanks so much for your help......The Windows shortcuts work......You are a lifesaver:).....

more options

I've been visiting fanficiton.net for years and copying chapters to various stories to have the ability to read the completed story on my ebook reader. Last Saturday, the ability to copy and paste from fanfiction.net has stopped working using both Mozilla and Google Chrome but my drag, copy and paste ability still works on Internet Explorer.

fanfiction.net I believe uses frames. I have also emailed and Tweeted fanfiction.net several times but have not received a reply from them. I have no idea what happened last week to throw everything off.

I tried using ctl/C and it doesn't work. Only the top summary of the story is copied. The drag, copy and paste function is highlighting in Mozilla but nothing is being copied. I uninstalled Google Chrome and Mozilla, cleaned out my cache, uninstalled most of plugins I have but nothing is working. I can copy many other websites but not fanfiction.net. Any help would be appreciated :)

Modified by happykt

more options

Hi happykt, I loaded a story and found that the mouse doesn't select anything in the main story area, although I can select in the header area near the author picture and I can select the entire page using Ctrl+a.

Right-clicking the story area and using Firefox's Inspect Element feature, I discovered the problem: the site is adding a style rule to block Firefox from selecting text:

<div role="main" class="storytextp" id="storytextp" style="padding: 0px 0.5em; -moz-user-select: none;" align="center">

Some elements within the main story have a .nocopy class name assigned, which applies a similar rule indirectly. Clearly the site doesn't want you to copy anything! Not sure why they didn't just come out and tell you this. Hmmm...


If you want to work around this "feature", you have three options:

(1) Turn off styles for the page temporarily. You can do this from the View menu.

Tap the Alt key if needed to display the classic menu bar

View menu > Page Style > No Style

Scroll down past all the menus and headings and copy at will.

(2) Use custom style rules to alter the page on each visit. Someone would need to develop this for you, and then you could add them to a file named userContent.css or use the Stylish extension.

(3) Use a script or add-on to alter the page on demand or automatically on each visit. Again, someone would need to create this and then describe how to implement it.

more options

@jscher2000 Is it possible that they can use the nocopy script on the no style view as well? I've come to be very wary of ff.net when it comes to things like this in the last two years. I have dyslexia and I'm unable to use my normal program since the implementation of the nocopy script and your first workaround is a big help to me. I would hate to know that my current fix to this problem is just a temporary solution.

more options

Hi codygotkilld, scripts can still operate when you turn off styles, so those will still be a concern for you. As you may recall, there was an Advanced JavaScript options dialog in earlier versions of Firefox where you could disable sites from replacing Firefox's right-click context menu with their own menu or an annoying copyright warning.

That setting still exists but it's a little harder to reach now because you need to use the about:config preferences editor. Here's how:

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the search box above the list, type or paste context and pause while the list is filtered

(3) Double-click the dom.event.contextmenu.enabled preference to switch it from the default value of true (sites can cancel Firefox's context menu) to false (always show Firefox's context menu).

On some sites, such as Google Maps, the site's menu will open behind Firefox's menu. To cancel Firefox's menu and use the site's menu, tap the Esc key once.

If you're interested, the following post has the details on the other two settings that were in that dialog: https://support.mozilla.org/en-US/questions/967108#answer-464407

more options

Happykt -

If you want FanFiction dot net stories on your e-book reader, go to FanFiction Downloader. It will not only collate stories for you, it will put them into e-book format. I'm using MOBI, but EPUB and a lot of other formats are available.You can even save stories in RTF. The program collects the whole thing, and doesn't get all the metadata FFnet puts at the beginning and end. (They came out with a rapid update to fix the 'can't copy' problem.)

This still doesn't let me bookmark author pages, but it's a start.

more options

I have the same problem, also under the EDIT tab is greyed out and right click doesn't work, using Mozila 25 on a vista machine. Any suggestions, if I keep having all these problems......really getting fed up!

more options

On fanfiction site, i cannot copy/paste, on the menu under edit, it is greyed out, no features work. mouse right click copy/paste does not work. the Windows keys do not work. I have Vista OS I did try going the no style but it still wouldn't copy/paste ? I'm not copying stories, I copy out the Recommended works/stories that the authors give out. Now I cannot do that any more. Would Chrome work?

more options

Hi sapho99, other browsers might work. As noted in my earlier post, there is a style rule specifically targeted at Firefox users to frustrate selection of text in part of the page: 960726#answer-489703. You can still copy the whole page (Ctrl+a, Ctrl+c), but for a partial selection you need to use one of the workarounds.

more options

You can copy and Paste the JavaScript code in the command line in the Web Console (Firefox/Tools > Web Developer;Ctrl+Shift+K) and press the Enter key.

document.querySelector("#storytextp").style.setProperty("-moz-user-select","auto","");

Bookmarklet:

javascript:void(document.querySelector("#storytextp").style.setProperty("-moz-user-select","auto",""));