Skip to content

Instantly share code, notes, and snippets.

View mkloouo's full-sized avatar
🗼
foo

Mykola Odnosumov mkloouo

🗼
foo
View GitHub Profile
@mkloouo
mkloouo / messWithTikTokProfile.js
Created May 5, 2020 07:46
messes with TikTok profile :)
function messWithTikTokProfile() {
Array.prototype.filter
.call(
document.getElementsByClassName('count-infos')[0].children,
(item) => {
return item.tagName === 'STRONG';
})
.forEach((item) => item.innerText = Math.floor(Math.random() * 10 + 1));
Array.prototype.forEach
.call(document.querySelectorAll('strong[class~="video-count"]'),