Auto-Outline

Redirect articles with yahoo consent wall to outline automatically

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==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}`;