snoopytamp Posted October 18, 2013 Share Posted October 18, 2013 Hi, I have an ecommerce site and i want to have a bookmarklet. I heard it should be done in javascript. Does anyone here who can help me? I'm a newbie but i'm a fast learner. thank you. Link to comment https://forums.phpfreaks.com/topic/283079-bookmarklet/ Share on other sites More sharing options...
codefossa Posted October 18, 2013 Share Posted October 18, 2013 Just create a new bookmark, then add the javascript after "javascript:" in the location. Example: javascript:alert("Snoopy");void(0);Adding void(0); to the end will stop your code from causing a refresh or location change accidentally. Link to comment https://forums.phpfreaks.com/topic/283079-bookmarklet/#findComment-1454456 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.