Commit f9a339bf authored by llhuillier's avatar llhuillier
Browse files

firefox xpi

parent 104206d9
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
......@@ -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"
/>
......
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