Browse
For agents
About
Statify
/
1.6.3
Statify
v1.6.3
Switch version
2.0.2
2.0.1
trunk
0.7
0.8
0.9
1.0
1.2.8
1.3.0
1.4.0
1.4.1
1.4.2
1.4.3
1.5.0
1.5.1
1.5.2
1.5.3
1.5.4
1.6.0
1.6.1
1.6.2
1.6.3
1.7.0
1.7.1
1.7.2
All 32 releases
Overview
Code
statify
/
js
/
snippet.js
snippet.js
in Statify 1.6.3, at js/snippet.js
12 lines
343 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
try
{
2
const
statifyReq
=
new
XMLHttpRequest
(
)
;
3
statifyReq
.
open
(
4
'
GET
'
,
5
document
.
getElementById
(
'
statify-js-snippet
'
)
.
getAttribute
(
'
data-home-url
'
)
6
+
'
?statify_referrer=
'
+
encodeURIComponent
(
document
.
referrer
)
7
+
'
&statify_target=
'
+
encodeURIComponent
(
location
.
pathname
+
location
.
search
)
8
)
;
9
statifyReq
.
send
(
null
)
;
10
}
catch
(
e
)
{
11
}
12