mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
removed extension notification
This commit is contained in:
@@ -15,7 +15,7 @@ var Hostcontroller = {
|
||||
began = false;
|
||||
old_id = id;
|
||||
}
|
||||
var codeURL = "http://remote."+window.location.hostname+"/"+id;
|
||||
var codeURL = "https://remote."+window.location.hostname+"/"+id;
|
||||
$("#code-text").text(id)
|
||||
$("#code-qr").attr("src", "https://chart.googleapis.com/chart?chs=221x221&cht=qr&choe=UTF-8&chld=L|1&chl="+codeURL);
|
||||
$("#code-link").attr("href", codeURL);
|
||||
|
||||
@@ -31,16 +31,16 @@ $(document).ready(function (){
|
||||
+ git_info[0].sha.substring(0,10) + "</a>: "
|
||||
+ git_info[0].commit.message+"<br");
|
||||
|
||||
var _isChrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
|
||||
/*var _isChrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
|
||||
setTimeout(function(){
|
||||
if (_isChrome && !document.getElementById('extension-is-installed') && !window.mobilecheck())
|
||||
Materialize.toast("<a href='#' onclick='installRemote();' style='pointer-events:all;color:white;'>Install the extension!</a>", 100000);
|
||||
}, 5);
|
||||
window.installRemote = installRemote;
|
||||
window.failed = failed;
|
||||
window.success = success;
|
||||
window.success = success;*/
|
||||
});
|
||||
|
||||
/*
|
||||
function installRemote()
|
||||
{
|
||||
chrome.webstore.install("", success, failed);
|
||||
@@ -54,7 +54,7 @@ function failed(e)
|
||||
function success()
|
||||
{
|
||||
console.log("Successfully installed");
|
||||
}
|
||||
}*/
|
||||
|
||||
$("#playbutton").on("click", function()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user