Random "xkcd: what if?"

Implements the random button (which exists on the xkcd homepage) on the "what if" section of xkcd.

What is Random "xkcd: what if?"?

Random "xkcd: what if?" is a Chrome extension developed by Nicholas Currault, and its main feature is "Implements the random button (which exists on the xkcd homepage) on the "what if" section of xkcd.".

Extension Screenshots

screenshot
screenshot

Download Random "xkcd: what if?" Extension CRX File

Download Random "xkcd: what if?" extension files in crx format, manually install Chrome extensions in the browser, or share the crx files with friends to easily install Chrome extensions.

Extension Usage Instructions

                        Update (v1.0.1): Fixes a bug which caused the references to become unclickable.  Thanks to Reddit user /u/Notagtipsy for pointing this out.

Update (v2.0.0): Improves efficiency: a random comic will only be requested if the button is clicked. This is similar to the xkcd random button.  Also, I added an icon derived from the "What If?" logo!

Update (v2.0.1): Fixed bug that made the random button always point to the current comic under some conditions.                    

Extension Basic Information

Name Random Random "xkcd: what if?"
ID beobagcklikbfmdkohjnapachgcpbgid
Official URL https://chrome.google.com/webstore/detail/random-xkcd-what-if/beobagcklikbfmdkohjnapachgcpbgid
Description Implements the random button (which exists on the xkcd homepage) on the "what if" section of xkcd.
File Size 27.84 KB
Installation Count 24
Current Version 2.0.1
Last Updated 2016-08-02
Publish Date 2016-08-02
Rating 4.25/5 Total 4 Ratings
Developer Nicholas Currault
Email [email protected]
Payment Type free
Supported Languages en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "Random \"xkcd: what if?\"",
    "description": "Implements the random button (which exists on the xkcd homepage) on the \"what if\" section of xkcd.",
    "version": "2.0.1",
    "content_scripts": [
        {
            "exclude_globs": [],
            "include_globs": [
                "*"
            ],
            "js": [
                "main.user.js"
            ],
            "matches": [
                "*:\/\/*.whatif.xkcd.com\/*",
                "*:\/\/*.what-if.xkcd.com\/*"
            ],
            "run_at": "document_end"
        }
    ],
    "converted_from_user_script": true,
    "icons": {
        "16": "icon16.png",
        "48": "icon48.png",
        "128": "icon128.png"
    }
}