aboutsummaryrefslogtreecommitdiff
path: root/ExplainXKCD-Quick-Link/README.md
blob: 26606ee763b9396dbb637a5f1784a17fb28cf1e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# ExplainXKCD-Quick-Link

A userscript for [xkcd](https://xkcd.com/), "a webcomic of romance, sarcasm, math, and language", which for each comic adds a link to the comic's [explain xkcd](https://www.explainxkcd.com/wiki/index.php/Main_Page) page.

Here is a screenshot of the addition:

<img src="https://github.com/untir-l/userscripts/blob/main/ExplainXKCD-Quick-Link/screenshot.png?raw=true" width="500">

This will always go to the page for the specific comic you are viewing.

## Usage

Load `explainxkcd_quick_link.user.js` into your userscript manager of choice (it is tested with Tampermonkey).

A userscript is a bit like a browser extension - it's a JavaScript file which is automatically executed on certain pages (in this case on xkcd) and improves them in some way. You will need an extension like Tampermonkey or Greasemonkey to use userscripts.

## Copyright and technical info

This userscript is copyright © 2021 Arjun Satarkar and licensed under the MIT License. See LICENSE.txt for the full text.

Written in JavaScript to run as a TamperMonkey userscript. Code formatted using the XO style with ESLint.