I finally had enough of the prompt EVERY TIME I LOG IN to PayPal nagging me to get their stupid mobile app. Here's the UserScript (tested in TamperMonkey) to detect when that annoying "Get the App" page pops up right after login, and automatically find the "Not Now" link, and automatically click it. This is what I would do anyway from now on, so the browser might as well do it for me.
// ==UserScript== // @name SkipPaypalLoginNag // @namespace http://tampermonkey.net/ // @version 0.1 // @description Automatically click the "Not now" link on PayPal's aggravating "every time you log in" Nag to get their stupid mobile app // @author Super-Annoyed PayPal User // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js // @require https://gist.github.com/raw/2625891/waitForKeyElements.js // @match https://www.paypal.com/cgp/app-download* // @grant none // @run-at document-idle // ==/UserScript== (function() { 'use strict'; waitForKeyElements ("[data-name='continue_to_the_website']", clickTheNotNowLink); function clickTheNotNowLink() { var skipLink = document.querySelector("[data-name='continue_to_the_website']"); if (skipLink) { console.log("Found the link to skip this annoying thing"); skipLink.click(); } else { console.log("Didn't find the link to skip the annoying thing"); } } })();
No comments:
Post a Comment