From 1e95b0cf62b2ef7d62d64154138a65cf1b4dffbe Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Fri, 13 Feb 2015 12:19:27 -0500 Subject: [PATCH] Adding @import URL so users don't have to paste the whole script and are always up to date --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2414ea4..ba94c5d 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,11 @@ ## Install If you have a Wikipedia account, open your [Preferences](https://en.wikipedia.org/wiki/Special:Preferences), go to the Appearance tab, and edit the Custom CSS for the Vector skin. -Paste [`style.css`](https://raw.githubusercontent.com/AndrewBelt/WiTeX/master/style.css) into the code editor, and save. +Paste the line + + @import url("https://en.wikipedia.org/w/index.php?title=User:AndrewBelt/WiTeX.css&action=raw&ctype=text/css"); + +into the code editor (or the contents of [`style.css`](https://raw.githubusercontent.com/AndrewBelt/WiTeX/master/style.css) itself if you prefer to manage your own copy), and save. Alternatively, you can load the CSS using a browser plugin (such as [Stylish for Firefox](https://addons.mozilla.org/en-US/firefox/addon/stylish/?src=external-userstyleshome) or [Stylish for Chrome](https://chrome.google.com/webstore/detail/fjnbnpbmkenffdnngjfgmeleoegfcffe)) for the domain `https?://*.wikipedia.org`.