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
f9a339bf
Commit
f9a339bf
authored
Jun 08, 2012
by
llhuillier
Browse files
firefox xpi
parent
104206d9
Changes
3
Hide whitespace changes
Inline
Side-by-side
firefox/lama@univ-amu.fr.xpi
View file @
f9a339bf
No preview for this file type
firefox/lama@univ-amu.fr/chrome/button.js
View file @
f9a339bf
function
transformUrl
()
{
var
l
=
content
.
document
.
location
;
gBrowser
.
loadURI
(
l
.
href
.
replace
(
l
,
'
lama.univ-amu.fr/login?url=
'
+
l
));
}
\ No newline at end of file
transformUrl
=
{
1
:
function
()
{
var
l
=
gBrowser
.
currentURI
.
spec
;
gBrowser
.
loadURI
(
l
.
replace
(
l
,
'
lama.univ-amu.fr/login?url=
'
+
l
));
},
}
\ No newline at end of file
firefox/lama@univ-amu.fr/chrome/button.xul
View file @
f9a339bf
...
...
@@ -20,7 +20,7 @@
<toolbarbutton
id=
"mybutton"
label=
"Accès distant"
tooltiptext=
"Accès hors campus"
oncommand=
"transformUrl()"
oncommand=
"transformUrl
[1]
()"
class=
"toolbarbutton-1 chromeclass-toolbar-additional custombutton"
/>
...
...
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