Last active
April 12, 2025 11:42
-
-
Save vinaysolanki/5484971 to your computer and use it in GitHub Desktop.
Increase Youtube view count with this JS code Usage:
Play a video and open console in chrome and enter increaseCount(views,interval) Eg: increaseCount(2000,10)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var z=0; | |
| var newcount; | |
| function increaseCount(views,interval){ | |
| setTimeout(function(){ | |
| var viewcount = document.getElementById("watch7-views-info").children[0].innerHTML; | |
| newcount = parseInt(viewcount.replace(',','').replace(',','')); | |
| newcount++; | |
| document.getElementById("watch7-views-info").children[0].innerHTML = addCommas(newcount); | |
| z++; | |
| if (z < views){ | |
| increaseCount(views,interval); | |
| } | |
| },interval); | |
| } | |
| function addCommas(nStr) | |
| { | |
| nStr += ''; | |
| x = nStr.split('.'); | |
| x1 = x[0]; | |
| x2 = x.length > 1 ? '.' + x[1] : ''; | |
| var rgx = /(\d+)(\d{3})/; | |
| while (rgx.test(x1)) { | |
| x1 = x1.replace(rgx, '$1' + ',' + '$2'); | |
| } | |
| return x1 + x2; | |
| } |
Use Tampermonkey
How could i use thid code ?
Hey dude, perhaps you could offer a little help on how to embed this code
how can we embed this code? will this code increase view after getting 301 views on youtube because you are not using any proxy IP and youtube might not increases views after reaching 301 views.
Help how can I use this code in extension to generate 200k views in 24hrs
This does not work :)
Yap kinda works
Do we need to copy whole script and paste it in the console and then call the function?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Thanks for your code, How can I embed the above code and increase my youtube video views count, request you to do the needful, waiting for your response