removed extension notification

This commit is contained in:
Kasper Rynning-Tønnesen
2015-11-29 14:17:02 +01:00
parent 453c3658a3
commit e4320205ac
4 changed files with 8 additions and 8 deletions

View File

@@ -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);

View File

@@ -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()
{