summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/resources/greasemonkey_api.js
blob: 2d791dd6395dbcca0cd0cfb005f1f11105d86dcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Implementation of the Greasemonkey API, see:
// http://wiki.greasespot.net/Greasemonkey_Manual:APIs

function GM_getValue(name, defaultValue) {
  throw new Error("not implemented.");
}

function GM_setValue(name, value) {
  throw new Error("not implemented.");
}

function GM_deleteValue(name) {
  throw new Error("not implemented.");
}

function GM_listValues() {
  throw new Error("not implemented.");
}

function GM_getResourceURL(resourceName) {
  throw new Error("not implemented.");
}

function GM_getResourceText(resourceName) {
  throw new Error("not implemented.");
}

function GM_addStyle(css) {
  throw new Error("not implemented.");
}

function GM_xmlhttpRequest(details) {
  throw new Error("not implemented.");
}

function GM_registerMenuCommand(commandName, commandFunc, accelKey,
                                accelModifiers, accessKey) {
  throw new Error("not implemented.");
}

function GM_openInTab(url) {
  throw new Error("not implemented.");
}

function GM_log(message) {
  window.console.log(message);
}