I’m working on social media sharing buttons. I followed tutorials from @Waldo and @sabanna great Webflowers, I still have a small problem: My Pinterest button does not work. I copied the same code and it does not work. My goal is to add social media sharing buttons to CMS posts.
The code you copied has been modified somehow by the forums.
I created a demo of the same script running with jQuery on Codepen.
Note the button ID. Also the script needs to be placed in script tags in the before body close custom code area (page settings) on the template or page you wish to run it on.
So you were talking about a new browser tab versus a new browser window.
The script that is doing that is handling that function is from Pinterest. Specifically https://assets.pinterest.com/js/pinmarklet.js so I am not driving.