A Local Firefox Command to Make Links Visible

15
1618

For those who would like the new website to call out links to external articles (such as the news article that gave rise to the Continental Telegraph article), you can code a standing order to do so in Firefox on your computer.


/* AD-HOC RULES FOR CONTINENTAL TELEGRAPH */
@-moz-document domain("continentaltelegraph.com") {
DIV.td-post-content A { color: blue !important }
}

The first line is a comment. Line 2 makes the section take effect only on views of Continental Telegraph. The -moz- identifies a Mozilla-only dialect; for all I know, the industry might have adopted this Mozilla feature and this bit might no longer be necessary. You can omit this line and the command will apply to all pages you visit, but few outside Continental Telegraph are likely to have the element that Line 3 identifies.

Line 3 identifies the page element of interest: Inside a DIVision of the appropriate type (td-post-content, the content of the post), any Anchor. The stuff inside curly braces can be any CSS style command. The !important is !important as it overrides style orders of the website. Line 4 terminates Line 2. If you get rid of Line 2, then get rid of Line 4.

The snippet can be placed inside the file userContent.css in the Firefox profile directory, if you can find it. Firefox for Android (Fennec) is dumbed-down and you can’t do this. I don’t know where to put the command on other browsers.

The standing order does not take effect until the first time you restart Firefox after editing the file.

0 0 votes
Article Rating
Subscribe
Notify of
guest

15 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
BlokeInTejas
BlokeInTejas
6 years ago

Nah. Fix it on the site. Then everybody can see the links plainly

HopsNotHats
HopsNotHats
6 years ago
Reply to  BlokeInTejas

I agree. Fix it once, Tim, then all your readers* don’t have to fix it for you.

* I mean some of your readers. Those using Chrome, Opera, Safari (yuck) or whatever Microsoft is calling Internet Explorer (yuck) these days would just have to suck it up.

Pcar
Pcar
6 years ago

March 15, 2018 at 6:00 pm
“Tim has now fixed this, and retroactively, and without patching individual Anchors as I suggested. Cheers!”

Test a href:
This is a link – should be blue

Pcar
Pcar
6 years ago

& Tim W

Not fixed

Pcar
Pcar
6 years ago

No highlighted or blue hyperlinks visible in any of today’s articles.

“fixed in comments when you view them with edit-comments.php”

You what? Jump through hoops to see hyperlinks – only techies may see them? Get real.

Hyperlinks must be visible to all viewed in any browser with no requirement for any add-ons inc javascript. Not difficult – standard practice.

Fix it. Site is losing credibility by being so user unfriendly.

Pcar
Pcar
6 years ago

@Tim Worstall

Furthermore:

Why, why, why have you Removed Latest Articles from home page and no link to it?

Bad move, quick ease of reading & navigating is more important than show lots.

Remember El Reg doing what you’ve copied? Complaints made and readership down.

They partially relented by adding “This Week” buried in footers – readership continues to decline (alexa)

Southerner
Southerner
6 years ago

Thanks, Spike. I’ll do this. It certainly beats waving my cursor randomly over the page watching for links to appear.