Pinterest "Pin it" button, breaking "back" in Internet Explorer

I recently found out that in Internet Explorer (at least v9) the “Pin it” button for Pinterest violates the “back” functions in the browser. Right-clicking on it displays an entry similar to ' http://assets.pinterest.com/pidget.html ' as the previous page.

It looks like Pinterest is adding an iFrame, and IE is adding its address to the story. Tapping back does nothing. Is this a known issue and is there a fix for this?

+7
source share
4 answers

well, as a temporary solution (except for removing the pin it button), from reading their code, I believe (not verified) that you could add a part of the <script> call to disable logging, for example ...

 <script type="text/javascript" src="//assets.pinterest.com/js/pinit.js" data-pin-do-not-log="true"></script> 

This works, but it doesn’t apply to me because I load the script asynchronously and I use the load command, so I did this by copying the pinit.js file locally to the server and changing the part that says

 if(avconfig["do-not-log"]||aadoNotLog===true) 

to

 if(avconfig["do-not-log"]||aadoNotLog===true||true) 

it looks like it is doing some kind of log in iframe.

+3
source

I had the same problem. I added the site to the list of restricted sites by going to "Tools", then "Internet Settings", then "Security". He seems to have solved the problem.

+1
source

I picked it up with PInterest here https://help.pinterest.com/requests/884162

Answer Thier. Pretty much a brush.


Hi,

Information on how to add the Pin It button to your website or product page is available here:

http://pinterest.com/about/goodies/

More detailed documentation is available here:

https://help.pinterest.com/entries/21101982

We are sorry that we cannot provide coding support. Since problems with adding a Pin It button can be caused by conflicts with various parts of your installation, it is usually best when someone familiar with your installation fixes it. You can also try searching the Internet to find out if others have similar problems, especially people who use a similar site platform or language.

We ask you to use our help articles to get the information you need as quickly as possible. If you need additional information that you know to our team, you can reply to this message.

Thank you for your letter and a happy acquaintance!

  • Pinterest Team
0
source

This was a temporary mistake when we first clicked on the new Pin It button and should no longer be a problem, since we deleted the registration frame shortly after it appeared. Excuse for troubling!

0
source

All Articles