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 @@
var url = localStorage.getItem("url");
browserAction.onClicked.addListener(function(tab) {
if (localStorage.getItem("url") == null) {
var url = false;
}else{
var url = localStorage.getItem("url");
}
tabs.executeScript({
code: ''
});
});

View File

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