-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHTMLDocument.js
145 lines (141 loc) · 6.01 KB
/
HTMLDocument.js
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
const HTOTDocument = HTMLDocument.prototype
Object.defineProperty(HTOTDocument.constructor, 'naam', {
get: function () { return this.name },
set: function (value) { this.name = value }
})
Object.defineProperty(HTOTDocument.constructor, 'argumenten', {
get: function () { return this.arguments },
set: function (value) { this.arguments = value }
})
Object.defineProperty(HTOTDocument.constructor, 'aanroeper', {
get: function () { return this.caller },
set: function (value) { this.caller = value }
})
HTOTDocument.constructor.brengAan = HTOTDocument.constructor.apply
HTOTDocument.constructor.verbind = HTOTDocument.constructor.bind
HTOTDocument.constructor.roepAan = HTOTDocument.constructor.call
HTOTDocument.constructor.naarDraad = HTOTDocument.constructor.toString
Object.defineProperty(HTOTDocument, 'naam', {
get: function () { return this.name },
set: function (value) { this.name = value }
})
Object.defineProperty(HTOTDocument, 'actiefElement', {
get: function () { return this.activeElement },
set: function (value) { this.activeElement = value }
})
Object.defineProperty(HTOTDocument, 'ankers', {
get: function () { return this.anchors },
set: function (value) { this.anchors = value }
})
Object.defineProperty(HTOTDocument, 'basisUBI', {
get: function () { return this.baseURI },
set: function (value) { this.baseURI = value }
})
Object.defineProperty(HTOTDocument, 'lichaam', {
get: function () { return this.body },
set: function (value) { this.body = value }
})
Object.defineProperty(HTOTDocument, 'koekje', {
get: function () { return this.cookie },
set: function (value) { this.cookie = value }
})
Object.defineProperty(HTOTDocument, 'karakterSet', {
get: function () { return this.characterSet },
set: function (value) { this.characterSet = value }
})
Object.defineProperty(HTOTDocument, 'standaardweergave', {
get: function () { return this.defaultView },
set: function (value) { this.defaultView = value }
})
Object.defineProperty(HTOTDocument, 'ontwerpmodus', {
get: function () { return this.designMode },
set: function (value) { this.designMode = value }
})
Object.defineProperty(HTOTDocument, 'documentUBI', {
get: function () { return this.documentURI },
set: function (value) { this.documentURI = value }
})
Object.defineProperty(HTOTDocument, 'domein', {
get: function () { return this.domain },
set: function (value) { this.domain = value }
})
Object.defineProperty(HTOTDocument, 'insluitingen', {
get: function () { return this.embeds },
set: function (value) { this.embeds = value }
})
Object.defineProperty(HTOTDocument, 'formulieren', {
get: function () { return this.forms },
set: function (value) { this.forms = value }
})
Object.defineProperty(HTOTDocument, 'volledigSchermElement', {
get: function () { return this.fullscreenElement },
set: function (value) { this.fullscreenElement = value }
})
Object.defineProperty(HTOTDocument, 'volledigSchermIngeschakeld', {
get: function () { return this.fullscreenEnabled },
set: function (value) { this.fullscreenEnabled = value }
})
Object.defineProperty(HTOTDocument, 'hoofd', {
get: function () { return this.head },
set: function (value) { this.head = value }
})
Object.defineProperty(HTOTDocument, 'afbeeldingen', {
get: function () { return this.images },
set: function (value) { this.images = value }
})
Object.defineProperty(HTOTDocument, 'implementatie', {
get: function () { return this.implementation },
set: function (value) { this.implementation = value }
})
Object.defineProperty(HTOTDocument, 'invoerCodering', {
get: function () { return this.inputEncoding },
set: function (value) { this.inputEncoding = value }
})
Object.defineProperty(HTOTDocument, 'laatstGewijzigd', {
get: function () { return this.lastModified },
set: function (value) { this.lastModified = value }
})
Object.defineProperty(HTOTDocument, 'gereedStaat', {
get: function () { return this.readyState },
set: function (value) { this.readyState = value }
})
Object.defineProperty(HTOTDocument, 'refereerder', {
get: function () { return this.referrer },
set: function (value) { this.referrer = value }
})
Object.defineProperty(HTOTDocument, 'strikteFoutControle', {
get: function () { return this.strictErrorChecking },
set: function (value) { this.strictErrorChecking = value }
})
Object.defineProperty(HTOTDocument, 'titel', {
get: function () { return this.title },
set: function (value) { this.title = value }
})
Object.defineProperty(HTOTDocument, 'UBL', {
get: function () { return this.URL },
set: function (value) { this.URL = value }
})
HTOTDocument.voegEvenementLuisteraarToe = HTOTDocument.addEventListener
HTOTDocument.adopteerKnooppunt = HTOTDocument.adoptNode
HTOTDocument.sluit = HTOTDocument.close
HTOTDocument.creëerAttribuut = HTOTDocument.createAttribute
HTOTDocument.creëerOpmerking = HTOTDocument.createComment
HTOTDocument.creëerDocumentFragment = HTOTDocument.createDocumentFragment
HTOTDocument.creëerElement = HTOTDocument.createElement
HTOTDocument.creëerEvenement = HTOTDocument.createEvent
HTOTDocument.creëerTekstKnooppunt = HTOTDocument.createTextNode
HTOTDocument.voerCommandoUit = HTOTDocument.execCommand
HTOTDocument.krijgElementBijId = HTOTDocument.getElementById
HTOTDocument.krijgElementenBijKlasnaam = HTOTDocument.getElementsByClassName
HTOTDocument.krijgElementenBijNaam = HTOTDocument.getElementsByName
HTOTDocument.krijgElementenBijLabelnaam = HTOTDocument.getElementsByTagName
HTOTDocument.heeftFocus = HTOTDocument.hasFocus
HTOTDocument.importeerKnooppunt = HTOTDocument.importNode
HTOTDocument.normaliseer = HTOTDocument.normalize
HTOTDocument.normaliseerDocument = HTOTDocument.normalizeDocument
HTOTDocument.vraagSelector = HTOTDocument.querySelector
HTOTDocument.vraagSelectorAlles = HTOTDocument.querySelectorAll
HTOTDocument.haalEvenementLuisteraarWeg = HTOTDocument.removeEventListener
HTOTDocument.schrijf = HTOTDocument.write
HTOTDocument.schrijfLijn = HTOTDocument.writeLn
export default HTOTDocument