From 2e403c8eb5524d42e079f615d26ee09816d605ca Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Thu, 17 Dec 2020 19:38:29 +0900 Subject: Update examples of siteconf, forward twitter.com to nitter.net Because mobile.twitter.com without JavaScript is unusable anymore. --- doc/README.siteconf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/README.siteconf b/doc/README.siteconf index 5eb2554..0369926 100644 --- a/doc/README.siteconf +++ b/doc/README.siteconf @@ -19,10 +19,10 @@ The last match wins. ===== Examples ===== -url "https://twitter.com/" -substitute_url "https://mobile.twitter.com/" +url m!^https?://([a-z]+\.)?twitter\.com/! +substitute_url "https://nitter.net/" -This forwards the twitter.com to its mobile site. +This forwards twitter.com to the alternative site. url "http://your.bookmark.net/" no_referer_from on -- cgit v1.2.3