NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Prevent Inoreader Youtube Link Highjacking // @description Removes the link hijacking in Inoreader for youtube links. Left clicking links will now open them in a new tab. // @include https://www.inoreader.com/* // @require https://code.jquery.com/jquery-3.4.1.js // @version 1.0 // @namespace BaconCatBug // @grant none // @run-at document-start // @license MIT // ==/UserScript== function removeLinkHijacking() { var TargetLink = $('a[href*="youtube"]') TargetLink.attr ('target', '_blank'); TargetLink.attr ('onmousedown', ''); TargetLink.attr ('onmouseup', ''); }; addEventListener('click', removeLinkHijacking, true);