UNPKG
voluptasvelit
Version:
latest (1.3.2)
1.3.2
1.3.1
1.3.0
1.2.0
1.1.1
1.1.0
1.0.1
1.0.0
JavaScript obfuscator
github.com/AmandaReichert/voluptasvelit
AmandaReichert/voluptasvelit
voluptasvelit
/
src
/
templates
/
GlobalVariableTemplate1.ts
17 lines
(14 loc)
•
354 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/** * @returns {string} */
export function
GlobalVariableTemplate1
():
string
{
return
`
var
that;
try
{
var
getGlobal = Function(
'return (function() '
+
'{}.constructor("return this")( )'
+
');'
); that = getGlobal(); }
catch
(e) { that = window; } `; }