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

255
Vistas
Bookmarklet (Javascript) navigates to source code as URL instead of executing javascript

am having a problem with EDGE in Compatiblity mode (IE11) where a bookmarklet is not executed.

Browser: MS Edge in Compatibility mode IE11 (not interchangeable with other browser)

Bookmarklet:

javascript: {window.alert("Hello World")}

How to reproduce (setting a website on EDGE Compatiblity mode IE11):

  • on EDGE browser: go to settings > default browser > "Allow sites to be reloaded in Internet Explorer mode" > allow > restart browser
  • navigate to any website
  • open menu via three vertical dots > "reload in internet explorer mode"
  • click the bookmarklet i provided above (= add the sourcecode as url to a new bookmark (Click))

This happens:

—> Are you sure you want to leave this page?

Upon clicking "Leave this page"

—> js source code in url bar

Any idea how to make it execute the code instead of navigating to it? Thanks a lot in advance!

about 4 years ago · Juan Pablo Isaza
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