Bypass Paywall Skip

Adds a context menu option to bypass an article's paywall.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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         Bypass Paywall Skip
// @namespace    vncsmnl.paywallskip
// @version      1.0.0
// @description  Adds a context menu option to bypass an article's paywall.
// @author       vncsmnl
// @license      MIT
// @match        *://*/*
// @grant        GM_registerMenuCommand
// @grant        GM_openInTab
// ==/UserScript==

GM_registerMenuCommand("Replace Current Tab", () => {
  window.location.href = 'https://www.paywallskip.com/article?url=' + encodeURIComponent(window.location.href);
}, "u");

GM_registerMenuCommand("New Tab", () => {
  GM_openInTab('https://www.paywallskip.com/article?url=' + encodeURIComponent(window.location.href), { active: true });
});