+1
Under review

amazon wishlist bookmarklet

Sam Gweon 8 years ago updated by nimbusweb 8 years ago 3

If I create a bookmark by dragging the "Add to Wish List" button in

http://www.amazon.com/wishlist/get-button

to my bookmark toolbar, then this button works fine both in Firefox and in Chrome. However, if I create this bookmark in Firefox, and then sync it to Chrome using EverSync, then I get "http://incorrecturl". I have other javascript bookmarks that sync just fine. This particular Amazon wish list bookmarklet seems to cause a problem with EverSync. What is the reason? Any workaround or solution?

Under review

Hi,


Can you post here code of the bookmark please.


Thanks

Here it is (cut and pasted from the above procedure):


javascript:(function(){var%20w=window,l=w.location,d=w.document,s=d.createElement('script'),e=encodeURIComponent,o='object',n='AUWLBook',u='https://www.amazon.com/wishlist/add',r='readyState',T=setTimeout,a='setAttribute',g=function(){d[r]&&d[r]!='complete'?T(g,200):!w[n]?(s[a]('charset','UTF-8'),s[a]('src',u+'.js?loc='+e(l)),d.body.appendChild(s),f()):f()},f=function(){!w[n]?T(f,200):w[n].showPopover()};typeof%20s!=o?l.href=u+'?u='+e(l)+'&t='+e(d.title):g()}())

I will transfer to dev team. Thanks