为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Can't copy certain text on an inhouse website

  • 4 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

After a recent Firefox update, I can't seem to copy text from a certain area of an in-house website. Unfortunately, since it's an in-house website, I can't give a way to replicate the issue. The issue persists for my coworkers. It works in Chrome. I've tried Ctrl+C and right clicking, and it does not work. I have reinstalled and used private mode and does not work. I have also tried changing dom.webcomponents.enabled and dom.webcomponents.shadowdom.enabled to true.

The text is surrounded by a <slot> tag. If I remove the tag, copying works. I don't think specifically the <slot> tag is the problem, but the problem should be whatever is being associated with the <slot> in the website. I guess I could change the website to remove the <slot> tags. Everything was fine before the update, which is why I am asking if maybe there's a bug or something overlooked in the update.

EDIT: After further testing, if I left click and select the exact text, I am able to copy. Whereas, if I triple click to get all of the text, it does not work.

After a recent Firefox update, I can't seem to copy text from a certain area of an in-house website. Unfortunately, since it's an in-house website, I can't give a way to replicate the issue. The issue persists for my coworkers. It works in Chrome. I've tried Ctrl+C and right clicking, and it does not work. I have reinstalled and used private mode and does not work. I have also tried changing dom.webcomponents.enabled and dom.webcomponents.shadowdom.enabled to true. The text is surrounded by a <slot> tag. If I remove the tag, copying works. I don't think specifically the <slot> tag is the problem, but the problem should be whatever is being associated with the <slot> in the website. I guess I could change the website to remove the <slot> tags. Everything was fine before the update, which is why I am asking if maybe there's a bug or something overlooked in the update. EDIT: After further testing, if I left click and select the exact text, I am able to copy. Whereas, if I triple click to get all of the text, it does not work.

由Syruptitious于修改

所有回复 (4)

more options

So, is the problem settled?

If you haven't already, please select the answer that solves the problem. This will help other users with similar problems find the solution more easily.

Thank you for contacting Mozilla Support.

more options

I still have a problem with trying to copy with triple clicking the text.

more options

There can be several reasons for this.

>The text is a picture, not text >Something is covering the text >The web page does not allow it

Have you tried a single click, and then marking what you want?

more options

You can check in the Inspector whether that element has a no-select attribute or CSS property.

Can you attach a screenshot of the Inspector with this container? Note that you can open the Inspector as a standalone window.

Note that you can possibly copy this text from the left pane of the Inspector. If necessary then use Edit as HTML in the right-click context menu or one of the items in the Copy sub menu.

由cor-el于修改