3 ms·
Great stuff - thanks for sharing. One note: when I drag the bookmarklet from the Install page to my toolbar, then try to use it on a page on my http://localhos
by ScottWhigham 13y ago
Great stuff - thanks for sharing.
One note: when I drag the bookmarklet from the Install page to my toolbar, then try to use it on a page on my http://localhost/ http://localhost/ (a dev site, for ex.), it (a) does what I expected it to do, but then (b) forwards me to http://localhost/install.html http://localhost/install.html when it is finished. When I browse an actual domain-based site, it gives me the nice "You just read..." message at the end. It would be nice if both local and remote sites had the same experience.
- pkghost 13y agoWelcome to my smelly code! It's supposed to go to /install on squirt.io--and also localhost for my own dev purposes. It's a bit of a hack, but saves me from maintaining two bookmarklets. Are you a publisher? Trying to embed it on your blog/site?
- ScottWhigham 13y agoThanks for the reply. Not a publisher - I just happened to be coding on my own local site in another tab. That was the first place I tried it.