Twitter fixer

Removes the login popups when you're trying to scroll down a profile, also makes the website scrollable (IT'S NOT PERFECT)

目前为 2022-09-14 提交的版本。查看 最新版本

// ==UserScript==
// @name         Twitter fixer
// @version      1.0
// @description  Removes the login popups when you're trying to scroll down a profile, also makes the website scrollable (IT'S NOT PERFECT)
// @author       Oni
// @grant        none
// @match       https://twitter.com/*
// @run-at document-idle
// @icon64        https://i.postimg.cc/VNyP9y85/image-removebg-preview.png
// @license MIT
// @namespace    Twitter fixer
// ==/UserScript==

(function() {
    'use strict';
setTimeout(function(){
function change(){
    document.querySelector('[style]').style.removeProperty("overflow-y");
    }
setInterval(change, 1000);
change()
}, 6000);
setTimeout(function(){
function remove() {
let elements = document.querySelector('[data-testid="sheetDialog"]');
elements.remove()
let elements2 = document.querySelector('[class="css-1dbjc4n r-1ffj0ar r-1p0dtai r-1d2f490 r-1xcajam r-zchlnj r-ipm5af"]');
elements2.remove()
let elements3 = document.querySelector('[class="css-1dbjc4n r-1awozwy r-1kihuf0 r-18u37iz r-1pi2tsx r-1777fci r-1pjcn9w r-xr3zp9 r-1xcajam r-ipm5af r-g6jmlv"]');
elements3.remove()
let elements4 = document.querySelector('[class="css-1dbjc4n r-18u37iz r-1777fci r-usiww2"]');
elements4.remove()
      document.querySelector('[style]').style.removeProperty("overflow-y");
    }
remove()
setInterval(remove, 1000);

}, 5000);
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址