From 37dbc4b5e6a1d5693a9c1a4c5bfc5e32620b61f7 Mon Sep 17 00:00:00 2001 From: riking Date: Sun, 2 Nov 2014 16:51:23 -0800 Subject: [PATCH] Add archive.org to crawler list to serve no-js to --- lib/crawler_detection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/crawler_detection.rb b/lib/crawler_detection.rb index c1bdc9e75df..d82cf443f6c 100644 --- a/lib/crawler_detection.rb +++ b/lib/crawler_detection.rb @@ -1,5 +1,5 @@ module CrawlerDetection def self.crawler?(user_agent) - !/Googlebot|Mediapartners|AdsBot|curl|Twitterbot|facebookexternalhit|bingbot|Baiduspider/.match(user_agent).nil? + !/Googlebot|Mediapartners|AdsBot|curl|Twitterbot|facebookexternalhit|bingbot|Baiduspider|ia_archiver/.match(user_agent).nil? end end