您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Onlinetools.com recently implemented a paywall. This script bypasses it.
- // ==UserScript==
- // @name Bypass OnlineTools Paywall
- // @namespace http://tampermonkey.net/
- // @version 1.1
- // @description Onlinetools.com recently implemented a paywall. This script bypasses it.
- // @author Your Name
- // @match http*://onlinetools.com/*
- // @grant none
- // @license MIT
- // ==/UserScript==
- (function() {
- 'use strict';
- function removeCfcpCookies() {
- // Get all cookies for the current domain
- const cookies = document.cookie.split(';');
- cookies.forEach(cookie => {
- const cookieName = cookie.split('=')[0].trim();
- if (cookieName.startsWith('cfcp')) {
- // Sets the cookie's expiration date to the past to remove it
- document.cookie = `${cookieName}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/;`;
- }
- });
- }
- removeCfcpCookies();
- setInterval(removeCfcpCookies, 1000);
- })();