Auto-Outline

Redirect articles with yahoo consent wall to outline automatically

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 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           Auto-Outline
// @namespace      https://openuserjs.org/users/clemente
// @match          https://consent.yahoo.com/*
// @grant          none
// @version        1.0
// @author         clemente
// @license        MIT
// @description    Redirect articles with yahoo consent wall to outline automatically
// @icon           https://outline.com/favicon.png
// @inject-into    content
// @noframes
// @homepageURL    https://openuserjs.org/scripts/clemente/Auto-Outline
// @supportURL     https://openuserjs.org/scripts/clemente/Auto-Outline/issues
// ==/UserScript==

/* jshint esversion: 6 */

const redirectUrl = document.querySelector('input[name=originalDoneUrl]').value;
document.location.href = `https://outline.com/${redirectUrl}`;