Pinterest Pin it button


9808102

Recommended Posts

I found a solution for Maxthon on the PinIt site some place. Just add this as a favorite and it works just like a button.

" javascript:void((function(){var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','http://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})()); "

Don't use the quotes.

Link to comment
Share on other sites

joemax replied at 2013-10-11 17:02 back.gif

I found a solution for Maxthon on the PinIt site some place. Just add this as a favorite and it work ...

isn't that from the script in the extension from chromium?

Was trying to port that over, and was in hurry so I didn't think to post that.

Thanks, very well done.

cooltext.png

Link to comment
Share on other sites

Imanerd replied at 2013-10-11 17:06 back.gif

isn't that from the script in the extension from chromium?

Was trying to port that over, and was ...

ok well then I think they've gotten it from the official extension unpacked. I may be wrong. I remember seeing that url in the js and the math thing, I think.

cooltext.png

Link to comment
Share on other sites

I found a solution for Maxthon on the PinIt site some place. Just add this as a favorite and it works just like a button. " javascript:void((function(){var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','http://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})()); " Don't use the quotes. - See more at: http://forum.maxthon.com/thread-5668-1-1.html#sthash.HzmJm7gg.dpuf

Hello,my name is Tam and from Vietnam.I work at real estate company.I want put button like in earch of product.I try to using put in mysite but it not run?

Link to comment
Share on other sites

Hi Tam, welcome to the forum :)

You have to add the script as the URL when creating PinIt as a favorite. It's probably easiest to show as images. Also, it seems to work fine in Maxthon as you can see.

(Right click any favorite or create a new one, add the script as URL and then name it PinIt)

4195

4196

post-7385961-14315113637573_thumb.jpg

post-7385961-14315113637924_thumb.jpg

Link to comment
Share on other sites

Hi Tâm, chào mừng đến với diễn đàn Bạn cần phải thêm đoạn mã như URL khi tạo PinIt là ưa thích. Đây có thể là dễ nhất để hiển thị như hình ảnh. Ngoài ra, có vẻ như để làm việc tốt trong Maxthon như bạn có thể nhìn thấy. (Kích chuột phải vào bất kỳ yêu thích hoặc tạo một hình mới, thêm đoạn mã như URL và sau đó đặt tên cho nó PinIt)

Clipboard02.jpg

Clipboard03.jpg

- See more at: http://forum.maxthon.com/thread-5668-1-1.html#sthash.StrPU3it.dpuf

Thanks you!I do it and finish!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.