Update examples of siteconf, forward twitter.com to nitter.net
Because mobile.twitter.com without JavaScript is unusable anymore.
This commit is contained in:
@@ -20,10 +20,10 @@ user_agent "string"
|
|||||||
|
|
||||||
===== 例 =====
|
===== 例 =====
|
||||||
|
|
||||||
url "https://twitter.com/"
|
url m!^https?://([a-z]+\.)?twitter\.com/!
|
||||||
substitute_url "https://mobile.twitter.com/"
|
substitute_url "https://nitter.net/"
|
||||||
|
|
||||||
twitter.com をモバイルサイトに転送します。
|
twitter.com を代替サイトに転送します。
|
||||||
|
|
||||||
url "http://your.bookmark.net/"
|
url "http://your.bookmark.net/"
|
||||||
no_referer_from on
|
no_referer_from on
|
||||||
|
@@ -19,10 +19,10 @@ The last match wins.
|
|||||||
|
|
||||||
===== Examples =====
|
===== Examples =====
|
||||||
|
|
||||||
url "https://twitter.com/"
|
url m!^https?://([a-z]+\.)?twitter\.com/!
|
||||||
substitute_url "https://mobile.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/"
|
url "http://your.bookmark.net/"
|
||||||
no_referer_from on
|
no_referer_from on
|
||||||
|
Reference in New Issue
Block a user