You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: