disable-devtool icon indicating copy to clipboard operation
disable-devtool copied to clipboard

You are making the world a worse place

Open Mubelotix opened this issue 1 year ago • 19 comments
trafficstars

Mubelotix avatar Oct 21 '24 15:10 Mubelotix

@Mubelotix So please tell me why content producers cannot take some measures to try to protect their labor results.

theajack avatar Oct 28 '24 02:10 theajack

@Mubelotix So please tell me why content producers cannot take some measures to try to protect their labor results.

If you need clientside protection then I have very bad news for you: this will never be effective. I bet that websites relying on this are extremely insecure due to the false sense of security their developers might feel. Anyone that has the technical skills to attack your website has the technical skills to disable this tool in like, 15 seconds max. This is just annoying

Mubelotix avatar Oct 28 '24 09:10 Mubelotix

I know there is no way to protect the client. So what I said is to try to protect it. In addition, if the website owner doesn't want you to see his stuff, why do you want to see it? @Mubelotix

theajack avatar Oct 31 '24 06:10 theajack

If you need clientside protection then I have very bad news for you: this will never be effective.

Yes, using it for client-side protection is not very smart, but why shouldn't we use it? It makes our users harder to get scammed by putting unknown javascript into their client

theoneandonlyjxd avatar Nov 16 '24 10:11 theoneandonlyjxd

unknown javascript into their client

Firefox requires typing allow paste, but not all browsers provide similar protections, so I can see why it's kinda reasonable to block dev-tools. I wish it wasn't a perma-block, but rather a soft conditional-block that the user can easily (but willingly) unlock

Rudxain avatar Nov 19 '24 02:11 Rudxain

Yeah sure as if this tool was used for "security". If it wasn't made to be a pain in the ass it would also support easy disabling for power users. Every single website I have seen using this was illegal and probably used it to protect themselves from law-enforcement and competitors. Great.

Mubelotix avatar Nov 19 '24 17:11 Mubelotix

It would be useful for online quiz kind of apps where students think they are smart will open dev-tools and inspect.

anburocky3 avatar Nov 24 '24 15:11 anburocky3

It would be useful for online quiz kind of apps where students think they are smart will open dev-tools and inspect.

No it's not. A quiz app needs to perform checks on the server. Answers should never be sent to clients

Mubelotix avatar Nov 24 '24 20:11 Mubelotix

quiz app needs to perform checks on the server

For serious grading, yes! because the client is proving knowledge to the server.

For a non-serious quiz or a self-grading tool, it's better client-side. I'm not saying that justifies use of disable-devtool, that's beside(s) the point

Edit: Since a few months ago, I can no longer reply to this thread...

Rudxain avatar Nov 25 '24 05:11 Rudxain

It would be useful for online quiz kind of apps where students think they are smart will open dev-tools and inspect.

No it's not. A quiz app needs to perform checks on the server. Answers should never be sent to clients

Right as you said, but they can check what are the server fields that arrive through the api request using Network resource tab.

Most developers will get all fields and show only certain field data in the UI. using this method, we can able to see the full fields of that api. It helps me.,

anburocky3 avatar Nov 25 '24 06:11 anburocky3

Most people who come here to blame this package are developers who failed to bypass it to do or steal something. šŸ‘€

So, I’m not surprised to see those people here. šŸ˜‚

HoangTran0410 avatar Jan 17 '25 09:01 HoangTran0410

>cites "Most people" >doesn't provide sources

uh-huh...your bootlicking+condescending way of writing suggests to me you wouldn't succeed either, but what do I know, I'm clearly one of those devs. 🤪

if the website owner doesn't want you to see his stuff, why do you want to see it?

To answer this silly deflection, I was trying to copy some non-selectable text in a dropdown menu so I could have it translated and the easy way is to just grab the text from the source. But no, the site had to make it annoying. You make it sound like all attempts are nefarious.


The "developer bypass" feature is usable by anyone, and I just used it for that site I alluded to above (no, the key was not a[^0]), so for legitimate, well-meaning sites at best this is giving junior Chinese devs a misconception that this is protecting the content of their hobby websites when it really does not.

p.s. don't be alarmed if this disappears eventually, I'm just blowing off steam.

[^0]: it was yuyuko, if the dev of that site ever reads this. you might as well remove it.

lae avatar Jan 30 '25 02:01 lae

The open web is a really beautiful thing; this kind of project undermines it.

To the point that the library authors made in this thread, this type of tool won't stop people who want to violate a license, but it will stop many people who:

  1. Want to understand how a website works
  2. Want to look into odd behavior
  3. Want to debug or correct a poor user experience
  4. Have some kind of accessibility need that wasn't accounted for by the website's creator

All this is to say, my overall conclusion is... bummer man, what an unfortunate way to decide to spend your time and talent.

slifty avatar Jan 30 '25 19:01 slifty

open dev console > network tab, reload the closed page while spamming F8. eventually you'll stop the script from loading.

devicemodder avatar Jan 31 '25 01:01 devicemodder

how to bypass: open ublock origin ||cdn.jsdelivr.net/npm/disable-devtool$script ||cdn.jsdelivr.net/npm/devtools-detector$script,3p

enjoy

devicemodder avatar Jan 31 '25 03:01 devicemodder

@lae thanks! i'll be sure to enable those.

devicemodder avatar Jan 31 '25 16:01 devicemodder

For apps that bundle the library, see https://gist.github.com/aravindanve/3e13d995fac35e4a07c236b11cc432c7#bypass-bundled-script

aravindanve avatar Feb 09 '25 10:02 aravindanve

@devicemodder Beat me to it. I just found out about this little script on a website. Typically I just leave devtools open, even when it's not in use, took me about 20 seconds to figure out what the hell was going on and block the script. Also doesn't help the fact that the script is called disable-devtool and isn't mixed in with anything else with how its application was used. Ray Charles could have found that. Popped right up in my network list.

And there's no use in adding anymore about this topic, @slifty said it perfectly.

Aetherinox avatar Apr 14 '25 19:04 Aetherinox

In my case the site I tried to open Dev Tools in kept refreshing itself when it detected they were open. Disabling JavaScript did prevent this but it also caused some elements I was interested in to not load. I use Brave browser and what I did to barely work around this is: open Dev Tools, go to the Sources tab, click "stop script execution" (looks like a pause button) and then spam the "step out of current function" button (looks like an upward arrow) until the elements I was interested in loaded and I was able to look at them through the Elements tab. This of course means that the page is frozen and you can't interact with it as long as the script execution is paused but it worked out for my purpose.

YJacob620 avatar Apr 16 '25 14:04 YJacob620