MCPcopy Create free account
hub / github.com/Tampermonkey/tampermonkey / Script

Function Script

src/parser.js:29–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27};
28
29var Script = function() {
30 this.observers = [];
31 this.icon = null;
32 this.icon64 = null;
33 this.fileURL = null;
34 this.downloadURL = null;
35 this.updateURL = null;
36 this.name = null;
37 this.namespace = null;
38 this.homepage = null;
39 this.description = null;
40 this.system = false;
41 this.enabled = true;
42 this.position = 0;
43 this.requires = [];
44 this.includes = [];
45 this.matches = [];
46 this.excludes = [];
47 this.resources = [];
48 this.lastUpdated = 0;
49 this.sync = { imported: false },
50 this.options = {
51 comment : null,
52 compatopts_for_requires : true,
53 compat_metadata : false,
54 compat_foreach : false,
55 compat_arrayleft : false,
56 compat_prototypes : false,
57 compat_uW_gmonkey: false,
58 compat_forvarin: false,
59 noframes: false,
60 awareOfChrome: false,
61 run_at : '',
62 user_agent : '',
63 override: { includes: false, merge_includes: true, use_includes: [], orig_includes: [],
64 matches : false, merge_matches : true, use_matches : [], orig_matches : [],
65 excludes: false, merge_excludes: true, use_excludes: [], orig_excludes: [] }
66 };
67};
68
69var headerStart = '==UserScript==';
70var headerStop = '==/UserScript==';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…