為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Option to change color of visited links

  • 4 回覆
  • 2 有這個問題
  • 1 次檢視
  • 最近回覆由 tommobile14

more options

Hi. Is there an option to mark visited links a different color on Android version? On PC I can do this via either Firefox option or add-ons. But I cannot find such option on Android.

Thanks, Tom

Hi. Is there an option to mark visited links a different color on Android version? On PC I can do this via either Firefox option or add-ons. But I cannot find such option on Android. Thanks, Tom

被選擇的解決方法

There a preference for the visited link color that you can edit using about:config, but on sites that set their own colors, this won't have any effect by itself. Here are the steps:

Part I: Get the hex code

If you want to use the same color as your desktop version of Firefox, you can find the there this way:

(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 visit and pause while the list is filtered

(3) Make a note of the value for the browser.visited_color preference, which should be a # sign followed by six characters in the range of 0-9, A-F

Part II: Modify your setting on Android

(1) Open a new tab to about:config (type about:config in the Awesomebar and tap the go arrow or tap Enter).

You may want to bookmark this for easier future access.

(2) In the search box, type visit and pause while Firefox filters the list

(3) Scroll down to browser.visited_color and tap the preference, then tap next to the end of the existing value and edit it to the new one, then tap away from the control to save.

If you switch back to your other tab and test on a site that doesn't override colors, you should see the change.

Success?

從原來的回覆中察看解決方案 👍 1

所有回覆 (4)

more options

選擇的解決方法

There a preference for the visited link color that you can edit using about:config, but on sites that set their own colors, this won't have any effect by itself. Here are the steps:

Part I: Get the hex code

If you want to use the same color as your desktop version of Firefox, you can find the there this way:

(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 visit and pause while the list is filtered

(3) Make a note of the value for the browser.visited_color preference, which should be a # sign followed by six characters in the range of 0-9, A-F

Part II: Modify your setting on Android

(1) Open a new tab to about:config (type about:config in the Awesomebar and tap the go arrow or tap Enter).

You may want to bookmark this for easier future access.

(2) In the search box, type visit and pause while Firefox filters the list

(3) Scroll down to browser.visited_color and tap the preference, then tap next to the end of the existing value and edit it to the new one, then tap away from the control to save.

If you switch back to your other tab and test on a site that doesn't override colors, you should see the change.

Success?

more options

Thank you for the reply. I tried the option and it seems to work on some sites as you mentioned. On other sites, it does not work, for example google.com.

Is there a way to enforce this setting across all sites? On desktop there is an addon called Visited Link. Is there any similar solutions?

Thanks

more options

Most likely there is a setting to override website color choices on Android as there is on desktop, but on desktop, this can lead to not seeing any background colors or images, so it's not a very useful setting.

I don't know whether there is anything like Stylish on mobile to apply custom style rules to websites (i.e., override style rules on websites) but that would be a more tailored way to address it if there's an add-on like that.

Also, Google may be something of a special case if it is using tracking links in the results instead of direct links to the site. On desktop, the tracking is added when you click the link; I haven't checked on mobile.

more options

Thanks for your replies.

What I'm trying to point out is: changing visited link color is not really an issue on Firefox on PC, and in Chrome on Android, the google seach results results are colored differently for visited links. So why can't I do the same thing in Firefox on Android?