1
Fork 0
mirror of https://github.com/Steffo99/chakra-magic.git synced 2024-10-16 14:37:28 +00:00

Formatting changes

This commit is contained in:
Steffo 2019-10-02 10:48:18 +02:00
parent 2d42c75f9b
commit 6ceb27b9c9
2 changed files with 6 additions and 6 deletions

View file

@ -1,11 +1,11 @@
let this_browser = null; let thisBrowser = null;
if(!this_browser) try { this_browser = browser; } catch(e){} if(!thisBrowser) try { thisBrowser = browser; } catch(e) {}
if(!this_browser)try { this_browser = chrome; } catch(e) {} if(!thisBrowser) try { thisBrowser = chrome; } catch(e) {}
function openPage() { function openPage() {
this_browser.tabs.create({ thisBrowser.tabs.create({
url: "https://steamcommunity.com/my/gcpd/570/?category=Account&tab=MatchPlayerReportIncoming" url: "https://steamcommunity.com/my/gcpd/570/?category=Account&tab=MatchPlayerReportIncoming"
}); });
} }
this_browser.browserAction.onClicked.addListener(openPage); thisBrowser.browserAction.onClicked.addListener(openPage);

View file

@ -8,7 +8,7 @@
}, },
"name": "Chakra Magic", "name": "Chakra Magic",
"version": "2019.9.30.2", "version": "2019.10.2.1",
"developer": { "developer": {
"name": "Stefano Pigozzi", "name": "Stefano Pigozzi",
"url": "https://github.com/Steffo99/chakra-magic" "url": "https://github.com/Steffo99/chakra-magic"