How to use Zenno Poster 4 to call Pinterest's "pin it button"'s JS code

zhangseoer

Client
Регистрация
18.09.2012
Сообщения
12
Благодарностей
1
Баллы
3
Hi,ZP fans

I want to use zp to pin my website's picture to pinterest.

http://pinterest.com/about/goodies/
QQ截图20121026144422.jpg

And before i successully use firefox to call pinterest pin it button's JS code to pin my website pictures.
But when i try to use ZP4 to call the JS CODE "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)}) ());",it always run into errors.And the code will be invalid.

So i will be appreciative if any one could help me out.

Tips: Open a website with picture (you need to log in pinterest firstly),then put the code "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)})());".

You will see:

未命名.jpg


That's what i want it to be.
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
834
Баллы
113
Hi,ZP fans

I want to use zp to pin my website's picture to pinterest.

http://pinterest.com/about/goodies/
Посмотреть вложение 2702

And before i successully use firefox to call pinterest pin it button's JS code to pin my website pictures.
But when i try to use ZP4 to call the JS CODE "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)}) ());",it always run into errors.And the code will be invalid.

So i will be appreciative if any one could help me out.

Tips: Open a website with picture (you need to log in pinterest firstly),then put the code "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)})());".

You will see:

Посмотреть вложение 2703


That's what i want it to be.
It is not possible currently to call JS such a way from navigation bar. There is in "todo" list.
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)