您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
This script is designed to bypass visual overlays and restrictive styles (such as paywalls or scrolling blocks) on glassdoor.
// ==UserScript== // @name Glassdoor Paywall Remover Update // @description This script is designed to bypass visual overlays and restrictive styles (such as paywalls or scrolling blocks) on glassdoor. // @author Percio Andrade @ https://github.com/percioandrade // @version 1.1 // @include http*://*glassdoor.* // @namespace http://www.gf.qytechs.cn // @license MIT https://opensource.org/license/mit // ==/UserScript== (function() { 'use strict'; function addGlobalStyle(css) { const style = document.createElement('style'); style.type = 'text/css'; style.textContent = css; document.head.appendChild(style); } function removeElementById(id) { const element = document.getElementById(id); if (element) { element.remove(); } } function cleanMainStyles(element) { if (!element) return; // Remove inline styles que travam o layout element.style.removeProperty('height'); element.style.removeProperty('width'); element.style.removeProperty('position'); element.style.overflow = 'auto'; } function observeStyleChanges(target) { const observer = new MutationObserver(() => { cleanMainStyles(target); }); observer.observe(target, { attributes: true, attributeFilter: ['style'] }); } window.addEventListener('load', function() { // Esconde overlays addGlobalStyle("#HardsellOverlay { display: none !important; }"); removeElementById('ContentWallHardsell'); removeElementById('UserAlert'); // Permite scroll no main addGlobalStyle("main { overflow: auto !important; }"); // Alvo: body.main const mainElement = document.querySelector('body.main'); if (mainElement) { cleanMainStyles(mainElement); observeStyleChanges(mainElement); } // Libera scroll no body também document.body.onscroll = null; }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址