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

145
Views
Devtools detector, antibugging

I'm not going to ask how we can block debugging tools or block the inspect element. I want to implement some javascript function as soon as user tries to open devtools as SoundCloud website did.

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

After some researching SoundCloud site I found this line of code, may be it will help you. They just use console.info at the start:

 null != (d = window.console) && d.info && window.console.info('You like to look under the hood? Why not help us build the engine? https://soundcloud.com/jobs');

P.S. At the moment this line of code you can find in this file

about 4 years ago · Juan Pablo Isaza Report

0

Don't know if this will help but this is for the Windows Shortcut.

window.oncontextmenu = function () {
return false;
};

document.addEventListener("keydown", function(event){
var key = event.key || event.keyCode;

if (key == 123) {
    return false;
} else if ((event.ctrlKey && event.shiftKey && key == 73) || (event.ctrlKey 
&& event.shiftKey && key == 74)) {
    return false;
 }
}, false);
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!