Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

147
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!