From 81093b3b16ab6462874179e0f14d08b4c66aa2ae Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 6 Dec 2015 11:20:52 -0800 Subject: [PATCH] Build web page. --- index.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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(); }