Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
emilie.lecorre
lama-addons
Commits
87e5a5e4
Commit
87e5a5e4
authored
Mar 19, 2019
by
peachaku
Browse files
ok firefox
parent
78eb039f
Changes
4
Hide whitespace changes
Inline
Side-by-side
js/options.js
View file @
87e5a5e4
...
...
@@ -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
js/smash/tabBootstrapbackgroud.js
View file @
87e5a5e4
...
...
@@ -4,7 +4,6 @@ if (typeof chrome !== "undefined" && chrome) {
browser
.
runtime
.
onConnect
.
addListener
(
function
(
port
)
{
console
.
log
(
"
hi5
"
);
port
.
onMessage
.
addListener
(
function
(
page
)
{
...
...
manifest.json
View file @
87e5a5e4
...
...
@@ -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"
...
...
notification.html
View file @
87e5a5e4
...
...
@@ -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éder avec lama"
><img
src=
"img/64-o
n
.png"
></a>
<a
style=
"display:none"
id=
"small_note_loginbutton"
href=
"#"
title=
"accéder avec lama"
><img
src=
"img/64-
g
o.png"
></a>
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment