Get element by ID:
document.getElementById("demo");
Get elements by class name (returns an array of all elements with that class name):
document.getElementsByClassName("demo");
Highlight element mouse is over (not tested, also need to remove highlight once mouse is no longer over element):
document.addEventListener('mousemove', function (e) {
var srcElement = e.srcElement;
srcElement.style.backgroundColor = "yellow";
});
Post
Replies
Boosts
Views
Activity
Yes we are also receiving reports of this from our extension.
Edit: I now have 3+ users reaching out to me with installation issues, and a 1-star review saying that the extension is not installing. What’s going on?
Some of my users are having this same issue. They have the latest version of Big Sur and Safari 14, yet are unable to see the extension in their Safari Preferences. It’s like it’s unable to install for them.
Yes this issue sounds similar, pkdavidstorm. Unfortunately my extension just got a 1-star review because of this issue (user unable to see the extension in Safari, and the button to "Quit and open Safari Extension Preferences" does nothing.) Hopefully this is fixed soon.
That would be “localStorage.” Check out this documentation to learn how to read and write to Safari’s localStorage: https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage