// user agent switcher
// source: https://github.com/technomancy/dotfiles/blob/master/.conkerorrc
//
- var user_agents = { "conkeror": "Mozilla/5.0 (X11; Linux x86_64; rv:8.0.1) " +
- "Gecko/20100101 conkeror/1.0pre",
- "chromium": "Mozilla/5.0 (X11; U; Linux x86_64; en-US) " +
+var user_agents = { "conkeror": "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) " +
+ "Gecko/20100101 conkeror/1.0pre (Debian)",
+ "chromium": "Mozilla/5.0 (X11; U; Linux x86_64; en-US) " +
"AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63" +
" Safari/534.3",
- "firefox": "Mozilla/5.0 (X11; Linux x86_64; rv:8.0.1) " +
- "Gecko/20100101 Firefox/8.0.1",
- "android": "Mozilla/5.0 (Linux; U; Android 2.2; en-us; " +
- "Nexus One Build/FRF91) AppleWebKit/533.1 (KHTML, like " +
- "Gecko) Version/4.0 Mobile Safari/533.1"};
+ "chromev36": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) " +
+ "AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1944.0 Safari/537.36",
+ "firefox": "Mozilla/5.0 (X11; Linux x86_64; rv:8.0.1) " +
+ "Gecko/20100101 Firefox/8.0.1",
+ "ffwin": "Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:16.0.1) Gecko/20121011 Firefox/16.0.1",
+ "android": "Mozilla/5.0 (Linux; U; Android 2.2; en-us; " +
+ "Nexus One Build/FRF91) AppleWebKit/533.1 (KHTML, like " +
+ "Gecko) Version/4.0 Mobile Safari/533.1",
+ "ie9": "Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US)",
+ "ie10": "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)",
+ "ie8": "Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; " +
+ "Trident/4.0; SLCC1; .NET CLR 3.0.4506.2152; .NET CLR " +
+ "3.5.30729; .NET CLR 1.1.4322)",
+ };
var agent_completer = prefix_completer($completions = Object.keys(user_agents));
interactive("user-agent", "Pick a user agent from the list of presets",