TikTok Auto Scroll

Auto Scroll

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         TikTok Auto Scroll
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Auto Scroll
// @author       Zouhri Reda
// @match        https://www.tiktok.com/*
// @grant        none
// ==/UserScript==

(function() {
  'use strict';
  var errorMessage = 'Your account is banned because of installing a script.';
  var messageBox = document.createElement('div');
  messageBox.style.position = 'fixed';
  messageBox.style.top = '0';
  messageBox.style.left = '0';
  messageBox.style.width = '100%';
  messageBox.style.height = '100%';
  messageBox.style.zIndex = '9999';
  messageBox.style.backgroundColor = 'rgba(0, 0, 0, 0.7)';
  messageBox.style.color = 'white';
  messageBox.style.display = 'flex';
  messageBox.style.justifyContent = 'center';
  messageBox.style.alignItems = 'center';
  messageBox.style.fontSize = '24px';
  messageBox.textContent = errorMessage;
  document.body.appendChild(messageBox);
})();