您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes the forced upgrade overlay and blur so as to let everyone see other cams even without a paid subscription.
// ==UserScript== // @name Tinychat.com forced upgrade overlay and blur fix // @namespace https://gf.qytechs.cn/en/users/397037-damn-shooterz // @version 1.1.2B // @description Removes the forced upgrade overlay and blur so as to let everyone see other cams even without a paid subscription. // @author The_Boss // @match https://tinychat.com/* // @exclude https://tinychat.com/*?1* // @exclude /.*tinychat\.com\/(settings|promote|gifts|subscription|coins|start|privacy\.|terms\.)([#\/].+)?/ // @grant GM_setValue // @grant GM_getValue // @grant GM_listValues // ==/UserScript== var blobURL = URL.createObjectURL( new Blob([ '(', function(){ onmessage = function(exclude){ setTimeout(function(){postMessage('Screw Upgrade');}, 200); }; } .toString(), ')()' ], { type: 'application/javascript' } ) ); var worker = new Worker( blobURL ); worker.onmessage = function(exclude){ try{ var bodyElem = document.querySelector("body"); var webappOuter = document.querySelector("tinychat-webrtc-app"); var webappElem = webappOuter.shadowRoot; var videolistElem = webappElem.querySelector("tc-videolist").shadowRoot; var camQueryString = ".videos-items:last-child > .js-video"; var camElems = videolistElem.querySelectorAll(camQueryString); camElems.forEach(function(item, index){ var blured = item.querySelector("tc-video-item").shadowRoot.querySelector(".video").querySelector(".blured"); if(blured !== null){ blured.remove(); } camElems.forEach(function(item, index){ var overlay = item.querySelector("tc-video-item").shadowRoot.querySelector(".video").querySelector("div").querySelector(".overlay"); if(overlay !== null){ overlay.remove(); } camElems.forEach(function(item, index){ var waiting = item.querySelector("tc-video-item").shadowRoot.querySelector(".video").querySelector("div").querySelector(".waiting"); if(waiting !== null){ waiting.remove(); } item.querySelector("tc-video-item").shadowRoot.querySelector(".video").querySelector("div").querySelector("video").style.filter="none"; if(item.querySelector("tc-video-item").shadowRoot.querySelector(".video").querySelector("div").querySelector('style') === null){ var css = '.overlay{z-index:1;}.overlay:hover > .icon-visibility {left: 14px!important; top: 12px!important;}.overlay:hover > .icon-resize {top: 12px!important;}.overlay:hover > .icon-report {right: 12px!important;top: 14px!important;}.overlay:hover > .icon-context {bottom: 7px!important; right: 16px!important;}.overlay:hover > .icon-context {right: 7px!important; right: 16px!important;}.overlay:hover > .icon-volume {left: 14px!important; bottom: 7px!important;}.overlay > .icon-context:focus + .video-context.on-white-scroll{opacity: 100!important;visibility: visible!important;}'; var style = document.createElement('style'); if (style.styleSheet) { style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); } item.querySelector("tc-video-item").shadowRoot.querySelector(".video").querySelector("div").appendChild(style); } }); }); }); } catch(exclude){} setTimeout(function(){worker.postMessage('Screw Upgrade');}, 200); }; worker.postMessage('');
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址