Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

135
Vistas
How do i make my tampermonkey script work with soundcloud?

I have a tampermonkey script that i make a while ago.

And i want to improve it so it uses soundcloud's SPA and doesn't reload the page everytime you click on one of the shortcuts.

I have looked at some other questions in stackoverflow and tried many things can't figure out a way for it to work.

For example, if i use history.pushState it does change the URL ! But it doesn't update the page.

function insertButton(playlistname,playlistlink) {
        let playlist = document.createElement('Button');
        let header = document.querySelector('.header__middle');
        playlist.innerHTML = playlistname;
        playlist.onclick = function(){ history.pushState({}, '', playlistlink);};
        playlist.className = 'playlist-button';
        header.insertBefore(playlist, header.children[2]);
}
about 4 years ago · Santiago Gelvez
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda