Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

149
Visualizações
Auto login Tampermonkey script returning POST 404

EDIT (see here *)

I wrote this simple auto login Tampermonkey script for https://app.7mind.de/login

// ==UserScript==
// @name         7Mind User Login Website
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://app.7mind.de/*
// ==/UserScript== 

let emailAddress = document.getElementsByName('email');
emailAddress[1].value = "x@y"
let password = document.getElementsByName('password');
password[1].value = "pass"
let loginButton = document.getElementsByName('submit');
loginButton[0].click();

I am getting this error in the console in Chrome:

POST https://api.7mind.de/v1/login 404

Grabbing the login button by class also doesn't work - same error.

let loginButton = document.getElementsByClassName("_2N3ybblop__YQd82Xe-Uw1");

As for the page's behaviour, I don't see my credentials getting inserted on the website.

*Also, when I leave out loginButton[0].click(), the credentials are inserted, but the same error occurs when I then click manually on login.

However, from what I read on the net, such simple login scripts should work.

Is this some recent Chrome security feature blocking my login attempt?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

The API is returning 404 for Incorrect email or password. Check the Network Tab in Developer Tools of the browser.

Edit: Try this approach github.com/facebook/react/issues/10135#issuecomment-314441175 Why? If the app is using a framework like ReactJS, changing the element value through JS doesn't actually update the state of the React component, so the next time the component refreshes, the changed data is gone whereas what is sent to the server is the component's state.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda