FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
code-guild/code-guild/javascript/programming_the_DOM.js at master · grantholly/code-guild · GitHub
grantholly
code-guild
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
code-guild
/
code-guild
/
javascript
/
programming_the_DOM.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
11 lines (8 loc) · 290 Bytes
Breadcrumbs
code-guild
/
code-guild
/
javascript
/
programming_the_DOM.js
Copy path
File metadata and controls
11 lines (8 loc) · 290 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
var
UA
=
navigator
.
userAgent
;
var
user_window
=
window
.
screenX
*
window
.
screenY
var
dom
=
document
.
hasChildNodes
(
'body'
)
;
var
showUA
=
function
(
)
{
alert
(
UA
+
"\n\n and the screen size is "
+
user_window
+
"\n\n does the <body> have child elements: "
+
dom
)
;
}
;
Back
|
FazBrowse Home
|
New Git URL