Set up one-click install for Chrome store version.
This commit is contained in:
parent
84e1dbe7ed
commit
e0a1748a66
@ -7,7 +7,14 @@ body {
|
|||||||
font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
|
font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/ohnjgmpcibpbafdlkimncjhflgedgpam">
|
||||||
</head><body>
|
</head><body>
|
||||||
<%= content %>
|
<%= content %>
|
||||||
|
<script>
|
||||||
|
var link = document.querySelector('a[href="https://chrome.google.com/webstore/detail/4chan-x/ohnjgmpcibpbafdlkimncjhflgedgpam"]');
|
||||||
|
link.addEventListener('click', function() {
|
||||||
|
chrome.webstore.install();
|
||||||
|
}, false);
|
||||||
|
</script>
|
||||||
</body></html>
|
</body></html>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user