3 ms·
Just drop this in at the top of bookmarklet.js :) // Flash message var flashMsg = document.createElement("div"); flashMsg.style.position = "absolute";
by KevBurnsJr 18y ago
Just drop this in at the top of bookmarklet.js :)
// Flash message
var flashMsg = document.createElement("div");
flashMsg.style.position = "absolute";
flashMsg.style.right = "0px";
flashMsg.style.top = "0px";
flashMsg.style.padding = "20px 40px";
flashMsg.style.backgroundColor = "#eee";
flashMsg.style.borderBottom = "1px solid #ccc";
flashMsg.style.borderLeft = "1px solid #ccc";
flashMsg.style.fontSize = "30px";
flashMsg.innerHTML = "<em>Okay!</em> Now select your image";
document.body.appendChild(flashMsg);
window.setTimeout(function(){
flashMsg.style.display = 'none';
}, 3000);
- grag 18y agoThanks, just added that to the bookmarklet!
- haasted 18y agoThe bookmarklet does not adapt gracefully when my browser shows only an image. For a quick example, try using the bookmarklet at this address: http://i284.photobucket.com/albums/ll39/inlovewithmoney1/a1680a06.jpg http://i284.photobucket.com/albums/ll39/inlovewithmoney1/a16... .