mirror of
https://github.com/Steffo99/chakra-magic.git
synced 2024-12-23 07:04:18 +00:00
11 lines
368 B
JavaScript
11 lines
368 B
JavaScript
let thisBrowser = null;
|
|
if(!thisBrowser) try { thisBrowser = browser; } catch(e) {}
|
|
if(!thisBrowser) try { thisBrowser = chrome; } catch(e) {}
|
|
|
|
function openPage() {
|
|
thisBrowser.tabs.create({
|
|
url: "https://steamcommunity.com/my/gcpd/570/?category=Account&tab=MatchPlayerReportIncoming"
|
|
});
|
|
}
|
|
|
|
thisBrowser.browserAction.onClicked.addListener(openPage);
|