Commit 87e5a5e4 authored by peachaku's avatar peachaku
Browse files

ok firefox

parent 78eb039f
......@@ -11,7 +11,7 @@ function save_options() {
browser.storage.sync.set({
showNotification: doNotification,
showBolt: doBolt,
showBolt: doBolt
},
function() {
//update status to let user know the options were saved
......@@ -52,16 +52,3 @@ document.addEventListener('DOMContentLoaded', restore_options);
*/
document.getElementById('notification').addEventListener('click', save_options);
document.getElementById('bolt').addEventListener('click', save_options);
/**
* Start
*/
$(document).ready(function() {
browser.storage.sync.get({
npsrecorded: 0
},
function(items) {
var display = items.npsrecorded === 1 ? 'none' : 'block';
$('#nps-info').css('display', display);
});
});
\ No newline at end of file
......@@ -4,7 +4,6 @@ if (typeof chrome !== "undefined" && chrome) {
browser.runtime.onConnect.addListener(function (port) {
console.log("hi5");
port.onMessage.addListener(function (page) {
......
......@@ -11,6 +11,12 @@
"64": "img/1x.png",
"128": "img/2x.png"
},
"applications": {
"gecko": {
"id": "lama@univ-amu.fr",
"strict_min_version": "42.0"
}
},
"browser_action" : {
"default_title" : "lama",
"default_popup" : "popup.html"
......
......@@ -21,7 +21,7 @@
<div id="login-box">
<div id="out-net" style="display:block;">
<div id="proxy" class="center" style="display:none;">
<a style="display:none" id="small_note_loginbutton" href="#" title="acc&eacute;der avec lama"><img src="img/64-on.png" ></a>
<a style="display:none" id="small_note_loginbutton" href="#" title="acc&eacute;der avec lama"><img src="img/64-go.png" ></a>
</div>
</div>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment