Skip to content

Instantly share code, notes, and snippets.

@plu5
Created January 19, 2026 17:26
Show Gist options
  • Select an option

  • Save plu5/fd7f2d261b44539402d539cd044e8d4a to your computer and use it in GitHub Desktop.

Select an option

Save plu5/fd7f2d261b44539402d539cd044e8d4a to your computer and use it in GitHub Desktop.
greasemonkey pinterest login wall blocker userscript
// ==UserScript==
// @name Browse your interests without registration
// @name:it Naviga i tuoi interessi senza registrazione
// @namespace http://andrealazzarotto.com/
// @description Find more ideas on the web without login/registration
// @description:it Trova altre idee sul web senza accedere o registrarti
// @version 2.4
// @include https://www.pinterest.tld/*
// @copyright 2014+, Andrea Lazzarotto
// @require https://cdnjs.cloudflare.com/ajax/libs/cash/8.1.0/cash.min.js
// @require https://greasyfork.org/scripts/35383-gm-addstyle-polyfill/code/GMaddStyle%20Polyfill.js?version=231590
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
// @grant GM_addStyle
// @downloadURL https://update.greasyfork.org/scripts/438053/Browse%20your%20interests%20without%20registration.user.js
// @updateURL https://update.greasyfork.org/scripts/438053/Browse%20your%20interests%20without%20registration.meta.js
// @match https://*.pinterest.com/*
// @match https://*.pinterest.at/*
// @match https://*.pinterest.ca/*
// @match https://*.pinterest.ch/*
// @match https://*.pinterest.cl/*
// @match https://*.pinterest.co.kr/*
// @match https://*.pinterest.co.uk/*
// @match https://*.pinterest.com.au/*
// @match https://*.pinterest.com.mx/*
// @match https://*.pinterest.de/*
// @match https://*.pinterest.dk/*
// @match https://*.pinterest.es/*
// @match https://*.pinterest.fr/*
// @match https://*.pinterest.ie/*
// @match https://*.pinterest.info/*
// @match https://*.pinterest.it/*
// @match https://*.pinterest.jp/*
// @match https://*.pinterest.nz/*
// @match https://*.pinterest.ph/*
// @match https://*.pinterest.pt/*
// @match https://*.pinterest.se/*
// ==/UserScript==
// with a few additions by plu5 to make it match all domains and to remove also the little box in the corner
/* Greasemonkey 4 wrapper */
if (typeof GM !== "undefined" && !!GM.addStyle)
GM_addStyle = GM.addStyle;
$(document).ready(function () {
// We need to start from a page with a search bar
if (location.pathname == "/")
location.href = "https://" + location.host + "/search/pins/?q=pin&rs=typed";
GM_addStyle(`
div[data-test-id=bottom-right-upsell], div#credential_picker_container, .UnauthBanner, body>.Modal, .ModalManager>.Modal, .Closeup__wrapper>div[style*='fixed'], iframe[src*=smartlock], div[data-test-id=signup] {
display: none !important;
}
.noScroll {
overflow: auto !important;
}
div[style*='cubic-bezier'], div[style*='fixed']>div[style*='opacity: 0.5'], div[style*='background-color: rgba(0, 0, 0, 0.6);'], .FullPageModal__scroller {
display: none !important;
}
div.gridContainer>div, .Grid {
height: auto !important;
}
:root body { overflow-y: auto !important; }
`);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment