File tree Expand file tree Collapse file tree 3 files changed +30
-11
lines changed
Expand file tree Collapse file tree 3 files changed +30
-11
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ body {
2929 font-size : 1.2em ;
3030}
3131
32+ .scan-container {
33+ text-align : center;
34+ }
35+
3236.hash {
3337 background : rgb (104 , 104 , 104 );
3438 width : auto;
@@ -37,6 +41,14 @@ body {
3741 padding : 10px ;
3842}
3943
44+ button {
45+ font-size : 1em ;
46+ padding : .2em ;
47+ padding-left : .5em ;
48+ padding-right : .5em ;
49+ cursor : pointer;
50+ }
51+
4052p {
4153 word-break : break-all;
4254}
Original file line number Diff line number Diff line change @@ -61,19 +61,24 @@ <h1>EPIC_Tracker</h1>
6161 </ code >
6262
6363 < br > < br > < br >
64- < h3 > Opt In for a scan?</ h3 >
65- < code >
66- Open this website with any other devices from the same network, i.e connected to same wifi, and press the
67- "OPT IN FOR SCAN" button. Then press the "SCAN" button from this device. You should see the information of
68- all the devices which has opted in for scan in last 30 minutes.
69- < br > < br >
70- This demo shows that all the devices from your network can be identified on the basis of IPs and the
71- metadata can be collected.
72- </ code >
7364
74- < button class ="optIn "> OPT</ button >
7565 < br >
76- < button class ="scanButton "> SCAN</ button >
66+ < div class ="scan-container ">
67+ < h2 > Opt In for a scan?</ h2 >
68+ < code >
69+ Open this website with any other devices from the same network, i.e connected to same wifi, and press the
70+ "OPT IN FOR SCAN" button. Then press the "SCAN" button from this device. You should see the information of
71+ all the devices in the network which has opted in for scan in last 30 minutes.
72+ < br > < br >
73+ < button class ="optIn "> Opt In For Scan</ button >
74+ < br > < br >
75+ This demo shows that all the devices from your network can be identified on the basis of IPs and the
76+ metadata can be collected.
77+ </ code >
78+ < br >
79+ < br >
80+ < button class ="scanButton "> Scan</ button >
81+ </ div >
7782
7883 < div class ="copy ">
7984 < p >
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ document.querySelector('.lang').textContent = languagePhrase;
2828document . querySelector ( '.depth' ) . textContent = colorDepthPhrase ;
2929document . querySelector ( '.dimentions' ) . textContent = dimentionPhrase ;
3030document . querySelector ( '.touch' ) . textContent = touchPhrase
31+ document . querySelector ( '.scan-container' ) . style . display = "none" ;
3132
3233// Try to get the graphichal processing unit info
3334const canv = document . getElementById ( "canv" ) ;
@@ -158,6 +159,7 @@ nowFetch().then(response => {
158159 const visits = shaRESPONSE . visits
159160 document . querySelector ( '.visits' ) . textContent = `According to the unique hash, you have visited the site ${ visits } time(s).`
160161 console . log ( visits )
162+ document . querySelector ( '.scan-container' ) . style . display = "block" ;
161163 } ) . catch ( e => {
162164 console . log ( e )
163165 } )
You can’t perform that action at this time.
0 commit comments