Open in RemovePayWall

Open the current page with RemovePayWall from the Tampermonkey menu button

ของเมื่อวันที่ 24-08-2025 ดู เวอร์ชันล่าสุด

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Open in RemovePayWall
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Open the current page with RemovePayWall from the Tampermonkey menu button
// @author       rogierg
// @license      MIT
// @match        *://*/*
// @grant        GM_registerMenuCommand
// @grant        GM_openInTab
// @icon         https://www.removepaywall.com/faviFold/favicon-16x16.png
// ==/UserScript==

(function() {
    'use strict';

    GM_registerMenuCommand("Open current page in RemovePayWall", function() {
        const url = encodeURIComponent(location.href);
        GM_openInTab("https://www.removepaywall.com/search?url=" + url, { active: true });
    });
})();