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

搜索 | 用户支持

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

详细了解

Clicking links

  • 8 个回答
  • 1 人有此问题
  • 11 次查看
  • 最后回复者为 q1k.

more options

In the new firefox once clicked a link (middle mouse button) to open it in a new tab, there isn't a small border around the link like there was in 3.6. The border appears when switching to another tab then back. I want it to always show after click a link.

In the new firefox once clicked a link (middle mouse button) to open it in a new tab, there isn't a small border around the link like there was in 3.6. The border appears when switching to another tab then back. I want it to always show after click a link.

所有回复 (8)

more options

Yes, focus ring behavior is inconsistent in the latest version. It's probably a bug¹. As a workaround, you can perform the following steps:

  1. Type about:config in the address bar and press Enter.
  2. Press the big button to bypass the warning.
  3. In the search box, paste browser.display.focus_ring_on_anything
  4. In the search results, double-click browser.display.focus_ring_on_anything to set its value to true.

¹ Bug 785683 - Inconsistency behavior of focus ring after switching Fullscreen with F11 key.

more options

Now it shows the box, but on darker background is really hard to see the box (dots). How to make the color brighter when there is dark background.

more options

I don't see any preference for changing the focus ring color.

  • browser.display.use_focus_colors affects whether the following custom focus colors are used.
  • browser.display.focus_ring_style affects whether the focus ring is dotted (1 - default) or solid (0).
  • browser.display.focus_ring_width affects the thickness of the focus ring.
  • browser.display.focus_background_color affects the background color.
  • browser.display.focus_text_color affects the text color.

Although you can't change the focus ring color, you can simulate a focus ring with a color of your choosing by applying a user style.

1. Install the Stylish extension.
https://addons.mozilla.org/firefox/addon/stylish/

2. Save the following as a new style.

@namespace url(http://www.w3.org/1999/xhtml);

a:focus {
  border: 2px dashed red !important
}
more options

The thing is, firefox 3.6 was much better on this part. Every link clicked had a box around it and with the color of the text. There was no need to change browser.display.focus_ring_on_anything to true, and therefore no point in changing, adding styles.

I have yet to try the stylish addon.

Edit: tried, and doesn't work as expected.

Again I say it was much better on 3.6

由q1k.于修改

more options

1. I know previous versions didn't have this issue. Pointing out the relevant bug report is the first thing I did. Since the problem has been reported, it may be fixed at some point. Nothing more can be done. Firefox 3.6 has been dead since April 24th 2012 and no one here can change that.

2. I then spent more than a little effort providing two solutions.

3. If you're not going to detail what you don't like about the user style solution, then I can provide no more suggestions.

more options

Can it somehow be made to show a dotted box 1px thick, with the color of the link. and not only red.

more options
@namespace url(http://www.w3.org/1999/xhtml);

a:focus {
  border: 1px dotted blueviolet !important
}

If you want to change it further, see the following link:

more options

OK

@namespace url(http://www.w3.org/1999/xhtml);

a:focus {

 border: 1px dotted

}

seems to do the trick.

now, how to make the default focus ring to not appear

由q1k.于修改