您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove paywall, unblur photos, enable scrolling, and re-enable dynamic content
- // ==UserScript==
- // @name Unpaywall meetup.com
- // @namespace http://tampermonkey.net/
- // @version 1.0
- // @description Remove paywall, unblur photos, enable scrolling, and re-enable dynamic content
- // @author louietyj
- // @match https://www.meetup.com/*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- function unPaywall() {
- document.querySelectorAll('div#modal').forEach(el => {
- if (el.textContent.includes('Join Meetup+')) {
- el.style.display = 'none';
- }
- });
- }
- function unblurPhotos() {
- const elements = document.querySelectorAll('.blur-sm');
- elements.forEach(element => {
- element.classList.remove('blur-sm');
- });
- }
- function enableScrolling() {
- const style = document.createElement('style');
- style.textContent = `
- html, body {
- overflow: auto !important;
- overflow-y: auto !important;
- position: static !important;
- height: auto !important;
- }
- `;
- document.head.appendChild(style);
- }
- function removeLocks() {
- const svgs = document.querySelectorAll('svg[data-src="https://secure.meetupstatic.com/next/images/design-system-icons/lock-outline.svg"]');
- svgs.forEach(svg => {
- svg.remove();
- });
- }
- function removeInert() {
- document.querySelectorAll('.inert, [inert]').forEach(el => {
- el.classList.remove('inert');
- el.removeAttribute('inert');
- });
- };
- function run() {
- unPaywall();
- unblurPhotos();
- enableScrolling();
- removeLocks();
- removeInert();
- }
- //window.addEventListener('load', run);
- const observer = new MutationObserver(run);
- observer.observe(document.body, {
- childList: true,
- subtree: true
- });
- })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址