Online Sequencer Make music online
  • Sequences
  • Members
  • Chat
  • Forum
  • Wiki

Existing user? Sign In Create account
Login at Online Sequencer Forums

Online Sequencer Forums › Online Sequencer › Online Sequencer Discussion
« Previous 1 2 3 4 5 6 … 85 Next »

I'm making userscripts for OS features I think should exist

Thread tools
I'm making userscripts for OS features I think should exist
Lastie Offline
Learning Developer
80 Posts:
   
#3
12-23-2025, 07:21 AM
// ==UserScript==
// @name OS Dropdown iOS Fix
// @version 12.23.25
// @description A fix to the iOS OS editor dropdowns not working!
// @author Lastie
// @match https://*.onlinesequencer.net/*
// @icon https://www.google.com/s2/favicons?sz=12...uencer.net
// @grant none
// ==/UserScript==

(function () {
'use strict';

const menuItems = [
"#save-options",
"#tools-menu"
];

function fixerUpper() {
menuItems.forEach(selector => {
// creative name ik
let saveStuff = document.querySelector(selector);

if (!saveStuff) {
// check for element again in 500ms
setTimeout(fixerUpper, 500);
return;
}


if (saveStuff.getAttribute('data-fix-loaded')) return;

let arrow = saveStuff.children[0];
let dropdown = saveStuff.children[1];

if (arrow && dropdown) {
arrow.addEventListener("click", (e) => {
// double trigger preventer thingy (im eating breakfast rn, dont judge me!)
e.preventDefault();

if (dropdown.style.display !== "block") {
dropdown.style.display = "block";
} else {
dropdown.style.display = "none";
}
});
saveStuff.setAttribute('data-fix-loaded', 'true');
}
});
}

fixerUpper();
})();


Reply

Messages In This Thread
I'm making userscripts for OS features I think should exist - by Lastie - 12-23-2025, 07:19 AM
RE: I'm making userscripts for OS features I think should exist - by Lastie - 12-23-2025, 07:20 AM
RE: I'm making userscripts for OS features I think should exist - by Lastie - 12-23-2025, 07:21 AM
RE: I'm making userscripts for OS features I think should exist - by Lastie - 02-04-2026, 06:45 PM



Users browsing this thread:   1 Guest(s)


  •  Return to Top
  •  Contact Us
  •   Home
  •  Lite mode
© Rush Crafted with ❤ by iAndrew
Powered By MyBB, © 2002-2026 MyBB Group.
Linear Mode
Threaded Mode
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend