This commit is contained in:
Clément CHABANNE (Perso) 2020-07-15 12:48:08 +02:00
parent b7eeb63eb1
commit cdd2cd476e
4 changed files with 4 additions and 17 deletions

BIN
go2ticket-chromium.crx Normal file

Binary file not shown.

BIN
go2ticket-firefox.xpi Normal file

Binary file not shown.

View File

@ -1,13 +1 @@
browserAction.onClicked.addListener(function(tab) {
if (localStorage.getItem("url") == null) {
var url = false;
}else{
var url = localStorage.getItem("url");
}
tabs.executeScript({
code: ''
});
});
var url = localStorage.getItem("url");

View File

@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Go2Ticket Firefox",
"version": "1.0",
"name": "Go2Ticket",
"version": "1.1",
"author": "Clément CHABANNE",
"description": "Allez directement à un numéro de ticket GLPI depuis son numéro.",
@ -20,8 +20,7 @@
"default_popup": "popup/go2ticket.html"
},
"options_ui": {
"page": "options/options.html",
"browser_style": false
"page": "options/options.html"
},
"commands": {
"_execute_browser_action": {