Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

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

搜索 | 用户支持

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

详细了解

How do I un-highlight text on the page that opens after I click on a search results link?

  • 2 个回答
  • 5 人有此问题
  • 2 次查看
  • 最后回复者为 TonyE

more options

Repro steps: 1) Go to www.google.com 2) Search using the phrase "friendly house portland" 3) On the search results page, click on the 1st listed link "Friendly House, Inc." 4) On the page that opens up (www.friendlyhouseinc.org), all phrases "Friendly" are highlighted in yellow, "House" are in orange, and "Portland" are in green. 5) Problem: I don't want the phrases to be highlighted. How do I remove the highlighting?

Repro steps: 1) Go to www.google.com 2) Search using the phrase "friendly house portland" 3) On the search results page, click on the 1st listed link "Friendly House, Inc." 4) On the page that opens up (www.friendlyhouseinc.org), all phrases "Friendly" are highlighted in yellow, "House" are in orange, and "Portland" are in green. 5) Problem: I don't want the phrases to be highlighted. How do I remove the highlighting?

所有回复 (2)

more options

Google seems to been adding some code and a stylesheet to pages before sending pages from the results to the browser.

If you click the Hide links in the Google Search Results section to remove that section and reload the page with F5 then the highlight is gone.

more options

It is a feature of the site, it is using css to color the search terms. You can stop it happening by stopping Firefox from sending the referer header (tells the site where you came from to go to the site). To do that:

  1. Type about:config into the location bar and press enter
  2. Accept the warning message that appears, you will be taken to a list of preferences
  3. Locate the preference network.http.sendRefererHeader and double-click on it to change its value to 0 (zero)

For more details on that preference see http://kb.mozillazine.org/Network.http.sendRefererHeader

The downside of this is that this may adversely affect some sites, since this can be used to track your movements through a site and possibly provide additional features.

由TonyE于修改