谷歌搜索引擎更改已访问链接的颜色以增强区分度

参考一个英文网站中的方法,下载Stylus拓展插件,为谷歌搜索引擎的网页创建样式,样式代码为:

A:visited {color: pink ! important}

颜色可以设置为任意其他颜色,有区分度就好,我自己设置成#ff55ff(HTML的颜色号)来代替pink

原文:

Note: the screenshots below are taken from Chrome for macOS (Version 60.0.3112.101). If you’re on a PC or using another Chrome version, the steps may be slightly different.

Step 1: Open Chrome, then install this extension called Stylist. Click on the blue “ADD TO CHROME” button.

Step 2: Confirm by clicking “Add extension”. You’ll see a notification indicating the plugin has been added to Chrome.

Step 3: Right-click on the Stylist extension icon, then select Options. Under the Styles tab, hit Add New Style.

Step 4: Now name the new style, check the “All site” option, copy and paste this piece of code (as shown below) in the box, and click Save.

A:visited { color: green ! important }

Note: The color of is this line is “green”. Feel free to change it to another color or an RGB code (255, 0, 0 for example). You can find more colors and their codes here.

Important: checking “All site” may affect your user experience with other sites. For example, I noticed that after implementing the change, my Gmail tabs all showed as red. which looks absolutely odd. So I added this rule, which only allows the change to impact specific Google search results.

ChangeColorofVisitedLinks18.png

Step 5: Check if the new style has taken effect. In my case, yes — the color of the visited TechCrunch Wikipedia page is now changed to green (by default, it was red).

ChangeColorofVisitedLinks12.png

P.S. I am used to having the visited link color show up as light purple, so I adjusted it back. 🙂

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值