Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Mark external links

A Config Script for GameBanana

11 380 bytes Raw Code
1
2
3
4
5
6
7
8
9
10
11
#ContentGrid column:nth-child(1) a:not([href*="https://gamebanana.com"])::before {
  content: "\26D4\00a0";
}

#ContentGrid .PageModule.MultipleRowListModule.MemberProfileModule.PostsListModule a:not([href*="https://gamebanana.com"])::before {
  content: "\26D4\00a0";
}

#ContentGrid #ScreenshotsModule a:not([href*="https://gamebanana.com"])::before {
  content: "";
}

Updates

menu
ver 0.3 1mo
  • Improvement Edited the selectors to only mark external links where they might be posted by the user
Preview:
ver 0.2 1mo Improvement ver 0.1 1mo Improvement

About

With this code installed all external links will be marked with the 'No Entry' Unicode character (see attached screenshot).


 
 

Internal links explained

An internal link is a type of hyperlink on a webpage to another page or resource, such as an image or document, on the same website or domain.
Internal link - Wikipedia

For example:
https://gamebanana.com/members/1169455
https://gamebanana.com/gamefiles/10139
https://gamebanana.com/projects/35480
 
 

External links examples

Hyperlinks are considered either "external" or "internal" depending on their target or destination. Generally, a link to a page outside the same domain or website is considered external.
Internal link - Wikipedia

For example:
https://ya.ru
https://17buddies.rocks
https://google.com
 
 

Why mark external links?

For security reasons, of course. Such links may link to malicious sites.
 
 

Known issues

Some GB links may be marked as external (i.e. /members/1169455), see attached screenshot.
Sign up to access this!

Embed

menu
Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Authors
s0nought
s0nought Joined 9y ago
Offline
4,636 points Ranked 1448th
19 medals 1 legendary 3 rare
  • Submitted 50 Gamefiles Medal icon
  • 6 years a member Medal icon
  • Submitted 20 Gamefiles Medal icon
  • Returned 1000 times Medal icon
  • Reached 1,000 Points Medal icon
  • Reached 2,500 Points Medal icon
CSS

Submitter

s0nought avatar
s0nought Joined 9y ago
Offline
4,636 points Ranked 1448th
19 medals 1 legendary 3 rare
  • Submitted 50 Gamefiles Medal icon
  • 6 years a member Medal icon
  • Submitted 20 Gamefiles Medal icon
  • Returned 1000 times Medal icon
  • Reached 1,000 Points Medal icon
  • Reached 2,500 Points Medal icon
s0nought
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Sub-category
UI Themes
Super-category
Cascade Style Sheets

License

menu

Attributes

Language
CSS
Page
Any

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 2
  • 276
  • 2
  • 2mo
  • 1mo
  • 1mo

More from Submitter

menu

WiPs by Submitter

menu

More UI Themes Scripts