File tree Expand file tree Collapse file tree 4 files changed +40
-8
lines changed Expand file tree Collapse file tree 4 files changed +40
-8
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,4 @@ console.log(history.forward(3));
18
18
// para ir adelante
19
19
console . log ( history . go ( 3 ) ) ;
20
20
// para ir atras
21
- console . log ( history . go ( - 3 ) ) ;
22
-
23
-
24
-
25
-
26
-
21
+ console . log ( history . go ( - 3 ) ) ;
Original file line number Diff line number Diff line change
1
+ 'use strict'
2
+
3
+ console . warn ( "--------------- Objeto Navegador(navigator) ---------------" ) ;
4
+
5
+ // para empezar tenemos el objeto navigator
6
+ console . log ( navigator ) ;
7
+
8
+ // Nos brinda informacion sobre la conexion de internet del usuario
9
+ console . log ( navigator . connection ) ;
10
+
11
+ // Nos brinda la geolocalizacion
12
+ console . log ( navigator . geolocation ) ;
13
+
14
+ // Nos brinda informacion de los dispositivos como camara y mircrofono
15
+ console . log ( navigator . mediaDevices ) ;
16
+
17
+ // Nos brinda informacion de los tipos de formatos que soportan los navegadores web
18
+ console . log ( navigator . mimeTypes ) ;
19
+
20
+ // Nos detecta si el usuario esta conectado y tambien si perdio la conexion de internet
21
+ console . log ( navigator . onLine ) ;
22
+
23
+ // Es una API QUE NOS AYUDA A CONVERTIR UN WEB A UNA PWA(Progresive Web App)
24
+ console . log ( navigator . serviceWorker ) ;
25
+
26
+ // Es el API de almacenamiento ya sea web storage o local storage
27
+ console . log ( navigator . storage ) ;
28
+
29
+ // Nos brinda informacion de si un dispositivo usb esta conectado o no
30
+ console . log ( navigator . usb ) ;
31
+
32
+ // Nos brinda informacion sobre el navegador del usuario que se esta conectado a nuestra web
33
+ console . log ( navigator . userAgent ) ;
34
+
Original file line number Diff line number Diff line change 5
5
< meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
6
6
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7
7
< title > BOM</ title >
8
- < script src ="./04_Objeto_Historial(history ).js "> </ script >
8
+ < script src ="./05_Objeto_Navegador(navigator ).js "> </ script >
9
9
</ head >
10
10
< body >
11
11
< h1 > BOM: Browser Object Model</ h1 >
Original file line number Diff line number Diff line change 1
- # Welcome Pragmatic_JavaScript [[ v0.2.5 ]] ( https://github.com/Zelechos/Pragmatic_JavaScript/releases/tag/v0.2.3 ) !!!
1
+ # Welcome Pragmatic_JavaScript [[ v0.2.6 ]] ( https://github.com/Zelechos/Pragmatic_JavaScript/releases/tag/v0.2.3 ) !!!
2
2
<img align =" center " src =" https://user-images.githubusercontent.com/73097560/115834477-dbab4500-a447-11eb-908a-139a6edaec5c.gif " alt =" javascript " width =" 1000 " />
3
3
4
4
![ ezgif com-gif-maker] ( https://miro.medium.com/max/3200/1*OF0xEMkWBv-69zvmNs6RDQ.gif )
16
16
17
17
+ ### [ Vanilla JavaScript] ( https://github.com/Zelechos/Pragmatic_JavaScript/tree/master/Vanilla%20JavaScript )
18
18
- Description : it is a folder with many examples in vanilla js to learn
19
+
20
+ + ### [ Testing] ( https://github.com/Zelechos/Pragmatic_JavaScript/tree/master/Testing )
21
+ - Description : it is a folder with many examples the testing with Jest to learn
You can’t perform that action at this time.
0 commit comments