To help make this website more compatible with the latest in UX best practices, add this to DOMContentLoaded
or whatever the newfangled way of doing such things is:
+function () {
const observer = new IntersectionObserver(function (entries) {
if (entries[0].isIntersecting) {
observer.unobserve(entries[0].target);
entries[0].target.click();
setTimeout(function () {
console.assert(window.viewbtn !== entries[0].target);
window.viewbtn && observer.observe(window.viewbtn);
}, 1000);
}
}, { threshold: [0] });
window.viewbtn && observer.observe(window.viewbtn);
}()
Could also make the view button not come and go all the time, but for all I know that's the new best practice in front end web shit. Really it would explain a lot.
Jump in the discussion.
No email address required.
Nerd
Jump in the discussion.
No email address required.
More options
Context