Create a new Content Blocker for Pinterest with the ID pinterest.
JavaScript - Global
In the Global field, insert the following JavaScript to load Pinterest's JavaScript library. The JavaScript will be embedded the first time a blocked Pinterest board is unlocked.
jQuery("body").append(""+"");
JavaScript - INITIALIZATION
To display several Pinterest boards on a website or to unlock them afterwards, the following JavaScript must be inserted in the Initialization field.
if (typeof window.BorlabsCookiePinterest !== "undefined") {
window.BorlabsCookiePinterest.f.build();
} else {
var _brlbs_WindowObj = window;
do Object.getOwnPropertyNames(_brlbs_WindowObj).forEach(function(name) {
if (name.match(/PIN\_[0-9]{13}/)) {
window.BorlabsCookiePinterest = window[name];
window.BorlabsCookiePinterest.f.build();
}
});
while(_brlbs_WindowObj = Object.getPrototypeOf(_brlbs_WindowObj));
}
EMBED AND BLOCK PINTEREST-BOARD
After you have integrated the Content Blocker for Pinterest, you can use the shortcut to block the Pinterest Board and unlock it by clicking on it.
[borlabs-cookie id="pinterest" type="content-blocker"]<a data-pin-do="embedBoard" data-pin-lang="de" data-pin-board-width="2000" data-pin-scale-height="600" data-pin-scale-width="2000" href="https://www.pinterest.de/DEIN-BOARD"></a>[/borlabs-cookie]