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-jp/README.siteconf | 6 +++--- doc/README.siteconf | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc-jp/README.siteconf b/doc-jp/README.siteconf index 0c2c6c4..4189712 100644 --- a/doc-jp/README.siteconf +++ b/doc-jp/README.siteconf @@ -20,10 +20,10 @@ user_agent "string" ===== 例 ===== -url "https://twitter.com/" -substitute_url "https://mobile.twitter.com/" +url m!^https?://([a-z]+\.)?twitter\.com/! +substitute_url "https://nitter.net/" -twitter.com をモバイルサイトに転送します。 +twitter.com を代替サイトに転送します。 url "http://your.bookmark.net/" no_referer_from on 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