1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Main panel
"use strict";
function showError (e) {
console.error(e.fileName + "\n" + e.name + "\nline: " + e.lineNumber + "\n" + e.message);
}
/*
Events
*/
window.addEventListener(
"click",
|
>
>
>
>
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Main panel
"use strict";
function showError (e) {
console.error(e.fileName + "\n" + e.name + "\nline: " + e.lineNumber + "\n" + e.message);
}
// Chrome don’t follow the W3C specification:
// https://browserext.github.io/browserext/
if (typeof(chrome) === "object") {
var browser = chrome;
}
/*
Events
*/
window.addEventListener(
"click",
|