What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-01-22 19:21:28
discord.js check every x minutes
var checkminutes = 10, checkthe_interval = checkminutes * 60 * 1000; //This checks every 10 minutes, change 10 to whatever minute you'd like setInterval(function() { message.channel.send("hello world"); //Or anything else }, checkthe_interval); Add solution -
Javascript 2022-01-22 15:06:44
instagram bot javascript
//Link:- https://github.com/danielrussellLA/instagram-follow-bot-javascript/blob/master/followBot.js // Go To "Explore Page" // Paste in Console: (() => { let i = 0; const followInterval = setInterval(() => { if (i >= ... Add solution -
Javascript 2021-11-21 19:46:12
discord js setinterval
var checkminutes = 10, checkthe_interval = checkminutes * 60 * 1000; //This checks every 10 minutes, change 10 to whatever minute you'd like setInterval(function() { message.channel.send("hello world"); //Or anything else }, checkthe_interval); Add solution -
Java 2021-11-21 07:30:22
ex: javascript loop arrya
<script> const countDownTimer = function (id, date) { var _vDate = new Date(date); // 전달 받은 일자 var _second = 1000; var _minute = _second * 60; var _hour = _minute * 60; var _day = _hour * 24; var timer; function showRemaining() { ... Add solution -
Javascript 2021-11-20 07:47:26
JavaScript basic clicker game
//Basic variables (the currency in this example is lemons) var incrementInterval = 10 //This is done so the code in the setInterval function runs 10 times per second var lemons = 0.0 var lemonsPerClick = 1.0 var lemonsPerIncrement = 0.0 //Function for cl... Add solution -
Javascript 2021-11-17 15:20:10
countdown in javascript
<!DOCTYPE HTML> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> p { text-align: center; font-size: 60px; margin-top: 0px; } </style> </head> <... Add solution -
Javascript 2021-11-17 11:01:14
scroll to top in javascript duration
scrollToPageTopWithSlowAniemation(){ var scrollToTop = window.setInterval(function() { var pos = window.pageYOffset; if ( pos > 0 ) { window.scrollTo( 0, pos - 20 ); // how far to scroll on each step } else { window.clearInte... Add solution
Best helpers
Ranking is empty