diff --git a/index.html b/index.html index 750b7b610..fe8a72f3b 100644 --- a/index.html +++ b/index.html @@ -35,9 +35,9 @@ Previously developed by aeosynth

4chan X is available as a Chrome extension. The Chrome extension has the additional feature of being able to sync your settings and data with other devices via Chrome Sync.

You can also use the userscript version of 4chan X with Tampermonkey. Note: Users of Chromium / Chrome 47+ should upgrade to Tampermonkey 3.12+ due to recent sandbox changes. Violentmonkey may also work, but I have yet to test it.

@@ -91,8 +91,9 @@ function imagePreview() { } function storeInstall(e) { if (!e.shiftKey && !e.altKey && !e.ctrlKey && !e.metaKey && e.button === 0) { - chrome.webstore.install(this.href, function(){}, function(){ - location.href = this.href; + var url = this.href; + chrome.webstore.install(url, function(){}, function(){ + location.href = url; }); e.preventDefault(); }