您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Kill the paywall
- // ==UserScript==
- // @name quizlet paywall remover
- // @namespace http://quizlet.com/
- // @version 2025-05-06
- // @description Kill the paywall
- // @author smshxrae
- // @match https://quizlet.com/*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- var currentURL = window.location.href;
- var match = currentURL.match(/quizlet\.com\/explanations/i);
- if(match){
- let elements = document.getElementsByClassName('o3dpi86 pxrylku');
- if (elements.length > 0) {
- elements[0].remove(); // Removes the first matching element
- }
- let elements2 = document.getElementsByClassName('LoginWall wugyavo');
- if (elements2.length > 0) {
- elements2[0].remove(); // Removes the first matching element
- }
- let elements3 = document.getElementsByClassName('b1xkd811');
- while (elements3.length > 0) {
- elements3[0].className = 'my-new-class'; // Overwrites all existing classes
- }
- }
- })();