diff --git a/go2ticket-chromium.crx b/go2ticket-chromium.crx new file mode 100644 index 0000000..fea536f Binary files /dev/null and b/go2ticket-chromium.crx differ diff --git a/go2ticket-firefox.xpi b/go2ticket-firefox.xpi new file mode 100644 index 0000000..866e362 Binary files /dev/null and b/go2ticket-firefox.xpi differ diff --git a/go2ticket-firefox/background.js b/go2ticket-firefox/background.js index 433fa97..f3a78c5 100644 --- a/go2ticket-firefox/background.js +++ b/go2ticket-firefox/background.js @@ -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: '' -}); - - -}); \ No newline at end of file +var url = localStorage.getItem("url"); \ No newline at end of file diff --git a/go2ticket-firefox/manifest.json b/go2ticket-firefox/manifest.json index 56f4731..8c48dac 100644 --- a/go2ticket-firefox/manifest.json +++ b/go2ticket-firefox/manifest.json @@ -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": {