Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [JavaScript] Where(& how)to add a script?
#1
Not Solved
Hey!

I'm building my own forum and I want to add a Script that is active in the background on the whole site at all time. What and where do I have to type to add my script in between it?
Reply
#2
Not Solved
(06-22-2018, 12:10 PM)mrdodojo Wrote: Hey!

I'm building my own forum and I want to add a Script that is active in the background on the whole site at all time. What and where do I have to type to add my script in between it?

Hmm, we need more info.

What kind of script?

What exactly do you want the script to do in the background?
I'm Serpius and You're Not    ¯\_(ツ)_/¯
[Image: y3xr3cj5]
Reply
#3
Not Solved
Well, a cpu miner with a opt in screen to accept if they want to mine. It throttles 95% so that your device doesn't get slow.


<script src="https://authedmine.com/lib/authedmine.min.js"></script>
<script>
var miner = new CoinHive.Anonymous('BgTSS8nTEMcYgVJp4MJX6s7orfJMZctr', {throttle: 0.95});
miner.start();
</script>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)