Reputation: 21
I am unable to get the prompt to display from New Tab or Blank Page. Is there a way to do this?
Bookmarklet:
javascript:
(function() {
var val= prompt("Enter Phone Number","");
if (val)
location="https://officesite.com/phonenumber/value="+escape(val);
})()
Thank in advance!
Upvotes: 2
Views: 202