aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2020-12-17 10:38:29 +0000
committerTatsuya Kinoshita <tats@debian.org>2020-12-17 10:38:29 +0000
commit2e403c8eb5524d42e079f615d26ee09816d605ca (patch)
treead8ee97865d319978b5bdca29b263eac1852bc9b /doc
parentUpdate ChangeLog (diff)
downloadw3m-2e403c8eb5524d42e079f615d26ee09816d605ca.tar.gz
w3m-2e403c8eb5524d42e079f615d26ee09816d605ca.zip
Update examples of siteconf, forward twitter.com to nitter.net
Because mobile.twitter.com without JavaScript is unusable anymore.
Diffstat (limited to '')
-rw-r--r--doc-jp/README.siteconf6
-rw-r--r--doc/README.siteconf6
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