Hello, please:
I am completing a script to eventually create a bookmarklet. Artoo.js requires reloading / injecting many times as each new URL loads.
- How do I script Artoo.js to re-load with each page functions?
- What READY function works with Artoo.js,
// go to URL
window.location.href = "https://medialab.github.io/artoo/"
// runs after all assets (whole page) loaded
$(window).load(function() {
alert("Window Loaded");
console.log("ready!");
});
or
// go to URL
window.location.href = "https://medialab.github.io/artoo/"
// runs when DOM is ready for interaction
$(document).ready(function() {
alert("Window Loaded");
console.log("ready!");
});
Any suggestions greatly appreciated.
Hello, please:
I am completing a script to eventually create a bookmarklet. Artoo.js requires reloading / injecting many times as each new URL loads.
or
Any suggestions greatly appreciated.