Skip to content

Instantly share code, notes, and snippets.

@Etc3tera
Last active March 7, 2020 11:33
Show Gist options
  • Save Etc3tera/79f46b97d7b832a29804459b9dec44af to your computer and use it in GitHub Desktop.
Save Etc3tera/79f46b97d7b832a29804459b9dec44af to your computer and use it in GitHub Desktop.
pinterest_anonymous
// ==UserScript==
// @name Pinterest Anonymous
// @namespace http://tampermonkey.net/
// @version 0.1
// @author etc3tera
// @match https://www.pinterest.com/search/pins/*
// @match https://www.pinterest.com/pin/*
// @require http://code.jquery.com/jquery-3.4.1.min.js
// @grant none
// ==/UserScript==
// https://www.pinterest.com/search/pins/?rs=ac&len=2&q=paper%20crafts&eq=paper&etslf=27134
(function() {
'use strict';
setInterval(function() {
var popup = $('[data-test-id="signup"]');
if (popup.length > 0) {
popup.remove();
console.log('remove popup')
}
var popup2 = $('[data-test-id="fullPageSignupModal"]');
if (popup2.length > 0) {
popup2.remove();
console.log('remove popup')
}
var gw = $('[data-test-id="giftWrap"]');
if (gw.length > 0) {
gw.remove();
console.log('remove cover')
}
}, 50);
$('body').css('cssText', 'overflow: auto!important')
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment