Redirect articles with yahoo consent wall to outline automatically
// ==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}`;