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

235
Vistas
How can I position my chrome extension wherever I desire?

I would like to know if there is a way to manipulate the position in JavaScript. Such as positioning my interface in the left, right, top, and bottom side of the screen on the browser of chrome and possibly Firefox.

HTML

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width,initial-scale=1">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Promethean Launcher</title>
        <link rel="stylesheet" href="styles.css">
    </head>
    <body>
        <div class="template" id="container">
        </div>
    </body>
    <script src="popoup.js"></script>
</html>

CSS

html{
    overflow:hidden;
}

body {
    margin:0;
    padding:0;
}

img{
    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.template{
    width: 355px;
    height: 100vh;
    position:absolute;
    left:calc(100% * 0.74);
    background-color:rgb(255, 250, 250);
    box-shadow: -4px 16px 32px -10px rgba(0,0,0,1);
    -webkit-box-shadow: -4px 16px 32px -10px rgba(0,0,0,1);
    -moz-box-shadow: -4px 16px 32px -10px rgba(0,0,0,1);
}

There is nothing on JavaScript yet, I will use it later on

about 4 years ago · Santiago Trujillo
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