Inspired by #xkcd
on foonetic.
Use: https://nullroute.lt/misc/xkcd/?q=XKCD_URL_GOES_HERE
for Firefox and other Gecko-based browsers.
To remove:
(I tried to add a favicon, but it doesn't show up in the "handler selection" window - probably the script needs to be in xkcd.com.)
Download a .desktop file for freedesktop-compliant desktop environments.
Install it to ~/.local/share/applications/
, then run:
$ xdg-mime default uri-xkcd.desktop x-scheme-handler/xkcd
Or, add the following to mimeapps.list
:
[Default Applications] x-scheme-handler/xkcd=uri-xkcd.desktop