您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Finds base64encoded and automatically decode
// ==UserScript== // @name Base 6 4 ta pu ni chi a ku n (lol) // @namespace https://twitter.com/ // @version 0.1 // @description Finds base64encoded and automatically decode // @author 6 4 ta pu ni chi a ku n ro yal lol // @match https://twitter.com/* // @grant none // ==/UserScript== (function() { 'use strict'; const root = document.getElementById("react-root"); setInterval(() => { const tweets = root.querySelectorAll("article div[dir][lang]:not(.base64-decoded)"); for (let tweet of tweets) { const text = tweet.textContent; const match = text.match(/[0-9A-Za-z+\/=]{8,}/); if (match && match[0].length * 2 > text.length) { let data = match[0]; try { // repeat decoding for (;;) { data = atob(data); } } catch(e) {} if (/[\x80-\xff]/.test(data)) { // UTF-8 data = new TextDecoder().decode(new Uint8Array(data.split("").map(c => c.charCodeAt()))); } const decoded = document.createElement("div"); decoded.style.color = "green"; decoded.textContent = data; tweet.insertAdjacentElement("afterend", decoded); } tweet.classList.add("base64-decoded"); // 6 4 た ぷ に き あ く ん 笑 } }, 5000); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址