1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// JavaScript
"use strict";
const oGrammalecteAPI = {
// functions callable from within pages
sVersion: "1.0",
openPanel: function (arg1) {
let xNode = null;
if (typeof(arg1) === 'string') {
if (document.getElementById(arg1)) {
|
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// JavaScript
"use strict";
const oGrammalecteAPI = {
// functions callable from within pages
// to be sent to the content-cript via an event GrammalecteCall
sVersion: "1.0",
openPanel: function (arg1) {
let xNode = null;
if (typeof(arg1) === 'string') {
if (document.getElementById(arg1)) {
|