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:
   
#1
12-23-2025, 07:19 AM (This post was last modified: 02-04-2026, 06:44 PM by Lastie.)
I'm not super good, and I don't know how to set up ajax and stuff on a desktop to run a local host of os, so I make userscripts instead.

The comments are the scripts

1: OS Auto Audio Track (allows for audio tracks to be loaded automatically upon page load.

2: OS iOS Dropdown Fix (fixes the unusability of the export and more options dropdowns on iOS in the OS sequence editor) -- THIS IS NO LONGER NEEDED, AS JACOB FIXED IT A FEW WEEKS AFTER I MADE THIS--

THIS PAGE IS OUTDATED! PLEASE VISIT HERE FOR USERSCRIPT INFO


Reply
Lastie Offline
Learning Developer
80 Posts:
   
#2
12-23-2025, 07:20 AM
// ==UserScript==
// @name OS Auto Audio Track
// @namespace http://tampermonkey.net/
// @version 2025-12-16
// @description This is a userscript that allows for limitless audio customization within the OS sequencer by allowing the use of Audio Tracks to be automatically set upon site load. DISCLAIMER: IN ORDER FOR THIS TO WORK THE PEOPLE LISTENING WILL NEED T
// @author Lastie
// @match https://*.onlinesequencer.net/*
// @icon https://www.google.com/s2/favicons?sz=64...uencer.net
// @grant none
// ==/UserScript==

(function () {

async function fetchAndDecodeAudio(audioUrl, onLoad) {
try {
const response = await fetch(audioUrl);

if (!response.ok) {
throw new Error(`HTTP error! Status: ${response.status}`);
}

const arrayBuffer = await response.arrayBuffer();

console.log(arrayBuffer);
audioSystem.loadAudioTrack(
arrayBuffer);
$("#wavesurfer_element").toggle();
} catch (error) {
console.error("Error fetching or decoding audio:", error);
}
}

let trackLink;
document.addEventListener("DOMContentLoaded", () => {
const allDescLinks = document.querySelector('#info-sidebar-description-text').querySelectorAll("a");

const trackLink = allDescLinks[allDescLinks.length - 1].href;

console.log(trackLink);

showAudioTrackSelect();
console.log("trackSelectWork");

fetchAndDecodeAudio(trackLink);
});
})();


Reply
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
Lastie Offline
Learning Developer
80 Posts:
   
#4
02-04-2026, 06:45 PM
THIS PAGE IS OUTDATED! PLEASE VISIT HERE FOR USERSCRIPT INFO


Reply



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