diff --git a/index.html b/index.html index 7a904ed62..91461cba9 100644 --- a/index.html +++ b/index.html @@ -34,7 +34,7 @@ Previously developed by aeosynth
  • Chromium, Chrome, and Vivaldi users can install 4chan X from the Chrome store.
  • Chromium users can alternately download 4chan X from Github, then drag it to your chrome://extensions page. This will also work for Chrome dev/canary, and Chrome on platforms other than Windows.
  • -
  • Opera users can click to download 4chan X from Github, then follow the prompts to activate it in your extension manager. Note: This version does not work with Presto-based Opera; try loadletter's fork instead.
  • +
  • Opera users can click to download 4chan X from Github, then follow the prompts to activate it in your extension manager. Note: This version does not work with Opera 12; try loadletter's fork instead.
  • It is also possible to use the userscript version of 4chan X with Tampermonkey.

    @@ -104,11 +104,12 @@ var engine = (function() { if (/Chrome\//.test(navigator.userAgent)) return 'blink'; if (/WebKit\//.test(navigator.userAgent)) return 'webkit'; if (/Gecko\/|Goanna/.test(navigator.userAgent)) return 'gecko'; + if (/Presto\//.test(navigator.userAgent)) return 'presto'; })(); if (engine) { - var engines = {'firefox': 'gecko', 'chromium': 'blink', 'safari': 'webkit', 'webkitgtk-': 'webkit'}; + var engines = {'firefox': 'gecko', 'chromium': 'blink presto', 'safari': 'webkit', 'webkitgtk-': 'webkit'}; for (browser in engines) { - document.getElementById(browser + '-hide').checked = (engine !== engines[browser]); + document.getElementById(browser + '-hide').checked = (engines[browser].indexOf(engine) < 0); } }