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

32 4 kb Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#AlternateFileSourcesModule .Content a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before,
#GlobalSubmissionAnnouncementModule a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before,
div.SubmittersFeedbackInstructions a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before,
#UpdatesModule recordcell.Details a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before,
#InstallationInstructionsModule a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before,
#DiscussionsListModule .Row2 a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before,
#PostsListModule_0 article a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before,
#TodosModule recordcell a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before,
#LicenseModule .Content a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before,
#AdditionalInfoModule a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before,
#EmbeddedMediaModule a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before,
#RequirementsModule a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before,
#DonationFormModule a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before,
#ItemProfileModule a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before,
#DevelopmentModule a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before,
#ProsAndConsModule a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before,
#DonatePromoModule a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before,
#ContactInfoModule a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before,
#RulesModule a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before,
#BlurbModule a:not([href^="https://gamebanana.com"]):not([href^="https://files.gamebanana.com"]):not([href^="https://screenshots.gamebanana.com"])::before
{
    content: "\26D4\00a0";
}

/*
AUTHOR: s0nought , https://github.com/s0nought
LICENSE: Unrestricted reuse in any form, for any purpose.
WARRANTY: THERE IS NO WARRANTY, TO THE EXTENT PERMITTED BY LAW.

Special thanks:
  BonkMaykr , https://github.com/bonkmaykrQ - suggestions
*/

Updates

ver 0.5 5mo
  • Improvement Do not treat links starting with "https://files.gamebanana" and "https://screenshots.gamebanana" as external
ver 0.4 5mo Refactor ver 0.3 2y Improvement ver 0.2 2y Improvement ver 0.1 2y Improvement
Adds 'No Entry' Unicode character to external links.


 
 
Internal links examples:
https://gamebanana.com/members/1169455
https://gamebanana.com/gamefiles/10139
https://gamebanana.com/projects/35480
 
 
External links examples:
https://ya.ru
https://17buddies.rocks
https://google.com
  • BonkMaykr avatar
    BonkMaykr username pic Joined 12mo ago
    dead lmao
    Team Regen Flag Affiliation: Team Regen
    1,870 points Ranked 21,958th
    29 medals 2 legendary 4 rare
    • Became a Ripe Supporter Medal icon
    • Returned 5000 times Medal icon
    • Thanked 50 submitters Medal icon
    • Returned 1000 times Medal icon
    • Reached 50 subscribers Medal icon
    • Received thanks 50 times Medal icon
    BonkMaykr avatar
    BonkMaykr
    Team Regen Flag
    Партнерство
    Team Regen
    5mo
    You should probably make sure that the selector doesn't accidentally mark files.gamebanana.com, incase someone links to a Bitpit file.
    • Спасибо x 1
    • Ура x 1
    CSS Mastermind avatar
    Mantra
    CSS Mastermind
    URL на запись:
  • [PRince_4] Sharma avatar
    [PRince_4] Sharma Joined 5y ago
    deadweight
    IND Industry! Flag Affiliation: IND Industry!
    9,702 points Ranked 738th
    39 medals 1 legendary 8 rare
    • 30 submissions featured Medal icon
    • 10 submissions featured Medal icon
    • Received thanks 50 times Medal icon
    • Thanked 50 submitters Medal icon
    • 8-14 Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • Returned 1000 times Medal icon
    [PRince_4] Sharma IND Industry! Flag
    Партнерство
    IND Industry!
    2y
    It's adding "Internal/External" at the start of the Link, which i guess should be at the end of the marked link in brackets.
    Slicin' My Way 2 TOP! avatar
    Mantra
    Slicin' My Way 2 TOP!
    URL на запись: