ByteByteGo Reference Linker

Converts [n] reference markers into clickable links on ByteByteGo courses. Click the reference to open the URL, or click the arrow to scroll to the References section.

Na nainštalovanie skriptu si budete musieť nainštalovať rozšírenie, ako napríklad Tampermonkey, Greasemonkey alebo Violentmonkey.

Na inštaláciu tohto skriptu je potrebné nainštalovať rozšírenie, ako napríklad Tampermonkey.

Na nainštalovanie skriptu si budete musieť nainštalovať rozšírenie, ako napríklad Tampermonkey, % alebo Violentmonkey.

Na nainštalovanie skriptu si budete musieť nainštalovať rozšírenie, ako napríklad Tampermonkey alebo Userscripts.

Na inštaláciu tohto skriptu je potrebné nainštalovať rozšírenie, ako napríklad Tampermonkey.

Na inštaláciu tohto skriptu je potrebné nainštalovať rozšírenie správcu používateľských skriptov.

(Už mám správcu používateľských skriptov, nechajte ma ho nainštalovať!)

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie, ako napríklad Stylus.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie, ako napríklad Stylus.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie, ako napríklad Stylus.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie správcu používateľských štýlov.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie správcu používateľských štýlov.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie správcu používateľských štýlov.

(Už mám správcu používateľských štýlov, nechajte ma ho nainštalovať!)

Autor
abd3lraouf
Denne inštalácií
0
Celkový počet inštalácií
1
Hodnotenie
0 0 0
Verzia
1.2.0
Vytvorené
06.12.2025
Aktualizované
06.12.2025
Veľkosť
19,1 KB
Licencia
MIT
Spustiť na

ByteByteGo Reference Linker

A Tampermonkey userscript that enhances ByteByteGo course pages by converting [n] reference markers into clickable links.

Features

  • Clickable References: [1], [2], etc. in the text become clickable links that open the referenced URL in a new tab
  • Quick Navigation: A arrow next to each reference scrolls you to the References/Resources section with a highlight effect
  • Hover Tooltips: Hover over a reference to see the description
  • Multiple Formats Supported: Works with various reference formats:
    • [n] Description: URL
    • n. Description URL
    • Ordered lists (<ol><li>...</li></ol>)

Demo

Before:

...which significantly reduced load times [22].

After:

...which significantly reduced load times [22]↓
                                          ^^^^
                                          |  |
                           Opens URL ─────┘  └───── Scrolls to reference

Installation

Prerequisites

Install from GitHub (Recommended)

  1. Make sure you have Tampermonkey installed
  2. Click the link below:

Install ByteByteGo Reference Linker

  1. Tampermonkey will open and show the installation prompt
  2. Click Install

Install from Greasy Fork

Coming soon...

Manual Installation

  1. Open Tampermonkey dashboard
  2. Click the + tab to create a new script
  3. Copy and paste the contents of bytebytego-references.user.js
  4. Save (Ctrl+S / Cmd+S)

Usage

  1. Navigate to any ByteByteGo course page
  2. References like [1], [22], etc. will automatically become interactive:
    • Click the number to open the referenced URL in a new tab
    • Click the arrow to scroll down to the reference in the Resources/References section
    • Hover to see the reference description

Supported Sites

How It Works

  1. The script scans the page for a References or Resources section (supports <h2>, <h3> headers)
  2. Parses references in various formats and extracts URLs and descriptions
  3. Finds all [n] markers in the main content
  4. Replaces them with clickable links + navigation arrows
  5. Uses a MutationObserver to handle dynamically loaded content

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License - see LICENSE for details.

Author

abd3lraouf - GitHub

Acknowledgments

  • ByteByteGo for the amazing system design content
  • The Tampermonkey team for making browser scripting accessible