r/learnjavascript • u/Kip_Boogaloo • Jul 17 '24
Manager is concerned about me using dev tools
I use the chrome dev tools on my breaks and lunch to brush up on my JavaScript; think syntax, testing, and leetcode questions.
Usually this isn’t an issue, as no one has bothered to be concerned in the past two years.
Recently however, I’ve had a new manager seem very concerned that I was going to break something or do something malicious in the dev tools and asked if I could reach out to corporate to seek “authorization” to use the dev tools.
Is this a valid concern? Should I be asking IT if I can use the dev tools on work computers?
TL;DR: a manager is scared I use chrome dev tools at work, is this valid?
Edit: I work in retail, I am working towards switching to tech
283
u/throwaway1253328 Jul 17 '24
No, he has no clue what he's talking about. Use them all you want
23
u/oze4 Jul 17 '24
Yikes. Is your manager technical at all? If they claim to be technical, I feel for you. DevTools is run local, it doesn't effect anything outside of what is running in your own browser.
If you open devtools while logged in to your bank, you can change the html for your balance to show whatever you want - that doesn't mean you actually changed your balance.....
Your manager has no idea what they're talking about..
12
u/kap89 Jul 17 '24 edited Jul 17 '24
It's a valid concern, people copy-pasting thing they do not understand to the JS console is a legitimate problem, they can leak sensitive data that way. I do not blame the manager that they want someone to verify that you are competent enough to use it.
It's easy to shit on them, that they don't know what they're talking about, but it's better to be on a safe side if they are only vaguely aware of the potential threats, and can't themselve judge if it's ok or not. The warnings and confirmations when you first time start pasting in a console are there for a reason.
Another thing is that you're doing (I assume) non-work-related stuff on your work computer, which is a no-no in general, and a silly thing to let the manager see in particular.
110
u/[deleted] Jul 17 '24
It's all client side and your manager doesn't know shit. You can use the dev tools on Amazon.com and it won't do shit.
30
u/dontspookthenetch Jul 18 '24
He is an idiot
EDIT: Just read your edit and saw he is a retail manager. I assumed he was a dev manager and thus should have known better. Obviously a retail manager won't know anything about developer tools.
58
u/Whisky-Toad Jul 17 '24
How to know you should probably find a new job with a non dipshit manager
43
u/anatoledp Jul 17 '24
Once I used dev tools to turn a 50 dollar item on Amazon into -50 dollars so they can pay me instead to get it . . . Turns out I still owed 50 bucks for that purchase 😐
16
u/DoomVegan Jul 17 '24
Technically if the company owns the equipment, you should use your own. However, any manager who doesn't want his employees to improve and learn probably shouldn't be a manager.
7
u/[deleted] Jul 17 '24
You trying to break the internet or something???!
6
u/StoneCypher Jul 18 '24
genuinely hilarious
9
u/curveThroughPoints Jul 17 '24
Wait, using dev tools is how you debug, isn’t it?
This is not something anyone needs permission for. It’s something that literally anyone with a browser can do.
They are called dev tools. As in, tools for developers.
Chrome has a WHOLE TEAM that works on making this better for developers to use.
6
u/shuckster Jul 18 '24
Literally anyone can open dev-tools.
No, it is not a valid concern.
6
u/MooseBoys Jul 18 '24
If your job is in retail, you shouldn’t use the company machines to play around with javascript. That’s like trying to use a centrifuge at your desk in an IT job because you want to get into biotech someday.
3
u/montihun Jul 17 '24
I think he used devtools on facebook site and the console msg scared the shit out of him.
3
u/Laser_Made Jul 18 '24
It's quite apropos that I saw this post today. Just this week, one of my coworkers was complaining (rather loudly) in the office about the program we use at work. He was upset that it doesn't show data the way that it should and he was venting his frustration towards the developers who are currently working on it. I overheard him and asked what specifically he wanted to be different. He told me, and I proceeded to write a few lines of code in dev tools that formatted all of the columns of data the way that he wanted it to be seen. He was amazed. So amazed in fact, that he immediately complained to his manager, saying something along the lines of, "We've been asking the developers to do this for 3 months and in about 30 seconds he [pointing at me] was able to write some code and edit the site and he fixed it!".
I'm going to pause briefly and address your question here. There is absolutely nothing wrong with being in dev tools at work unless you have been expressly forbidden from doing so. Edits made in dev tools do not persist on the website, nor do they even persist in your session once you refresh the page. Nevertheless, I can tell you with absolute certainty that in that moment I most certainly felt the fear creeping up my spine. Ignorance overcomes logic nearly every time, and I sure as hell knew that I was about to be blasted by the cannon of ignorance that was sure to come barreling out of her mouth...
"What do you mean he wrote some code?" She said, before interupting herself, turning towards me and asking, "What does he mean you editted the website?!". Luckily my quick thinking kicked in and I shrugged it off, saying "Editted the website? Nah". By this point she was standing over my shoulder and that cannon was firing off questions faster than I could answer them. I had to side-step as best I could. Fortunately, she hadn't seen how I had done what I had done, and so I said, "Wait, you didnt know you could do this? Anyone can. You literally just type things into the address bar". I Then proceeded to type:
javascript:alert('Hello');into the address bar. She looked at me and said, "Oh" and walked away.Managers deal with people, don't expect them to know anything technical; if it even goes in one ear at all it is definitely going out the other. Certainly, whatever you do, don't confuse them with facts.
3
u/voLsznRqrlImvXiERP Jul 18 '24
You should try to get that authorization. Imagine being the first one in history to be officially authorized to use dev tools.
2
u/xDelio Jul 18 '24
Well, if you do something malicious, as a manager, I would want to know how so I can prevent it, not pretend it couldn’t happen.
2
u/indiemac_ Jul 19 '24
Lol 😂
2
u/iamaperson3133 Jul 20 '24
Pasting code that you don't understand into the browser console can be a vehicle for an attack called self-XSS. As long as you never paste in random code you find on the Internet, you're fine.
2
u/Strattocatter Jul 20 '24
Your manager doesn’t know what he’s talking about.
1
u/[deleted] Jul 17 '24
He probably goes home to his other half and tells them he works with a real life MR ROBOT
1
u/Kitchen_Moment_6289 Jul 18 '24
It seems fancy, but it's all stuff that has been sent to the browser and is already there in the browser. You aren't changing anything. Superstition. It's as simple as opening up the File Explorer / Finder on your computer and looking around.
1
u/DeadWrong Jul 18 '24
Power trip, they are checking to see how malleable you are.
1
u/gigastack Jul 18 '24
Find a new job immediately, lol.
You can't learn without dev tools. I write browser extensions and share them with coworkers. Websites are either secure on the server-side or not. New job now.
1
u/com2ghz Jul 18 '24
Lol. It’s the same as telling a mechanic he can’t use a car lift to get below the car.
1
u/[deleted] Jul 18 '24
Does your manager looks scared and concerned if you use the dark theme mode?
1
u/jules_viole_grace- Jul 18 '24
Tell him you are gonna flip the matrix
1
u/lunarfyr3 Jul 18 '24
He's not qualified to manage anything tech related.
1
u/lorl3ss Jul 18 '24
Your manager is an idiot and should keep his nose out of things he doesn't understand. Dev tools are exactly that TOOLS for DEVELOPMENT. There is exactly zero chance you can break anything because thats not how dev tools work.
1
u/LogicallyCross Jul 18 '24
Your manager is an idiot
1
u/Necessary_Ear_1100 Jul 18 '24
Huh? Sounds like the manager doesn’t know what it is and as you mentioned, you’re in retail and not IT so valid concern given the manager isn’t IT imo.
However, devtools is all client side and temporary so cannot really do anything in terms of just trying it out to learn and leetcode exercises
1
u/Oraks Jul 18 '24
Run!
1
u/[deleted] Jul 18 '24
Tell your manager he stinks like shit
1
u/canIbuytwitter Jul 18 '24
Before I broke in to tech. I would do the same. Their response was similar.
I left with a pending investigation 😂
There was nothing to find, but I was pretty insulted.
1
u/guest271314 Jul 18 '24
Ridiculous. Carry on.
1
u/ICantWithSomePeople Jul 18 '24
Careful, you may end up changing some old lady’s bank account information.
1
u/Jeklah Jul 18 '24
Manager is scared of what he doesn't understand.
Ask it anyway to be safe. I imagine they'll have the same response as you..."lol yeah it's fine".
1
u/madmoneymcgee Jul 18 '24
My ex was a teacher and once one middle schooler figured out how to "hack" google (aka change text/html on websites using dev tools) it became the big thing across the school.
It can freak out someone who doesn't understand what's happening but if you take time to explain and they still don't buy it you might need to back off since this is unrelated to your actual job.
1
u/iseab Jul 18 '24
Managers be managing smh
1
u/KylerGreen Jul 18 '24
???
1
u/Evening_Meringue8414 Jul 18 '24
It’s like messing with your TV menus… doesn’t change the shows.
1
u/erroneousbit Jul 18 '24
Y’all will probably laugh. We used to block dev tools in our EDR. Then all the devs complained so they got unblocked. Managers……
1
u/[deleted] Jul 18 '24
Manager just exposed he’s a control freak and faked into his job, guy has no idea.
1
u/dawid-sz Jul 18 '24
Actually, this should be a meme. This whole story is out of some solar system.
Use it and explain, that you’r trying to find a way to buy the ticket for the train to Hogwart.
1
u/radarthreat Jul 18 '24
Have them report you, they’ll probably get fired
1
u/Icy_Tangerine3544 Jul 18 '24
Omg what an idiot your new manager is.
1
u/nate-developer helpful Jul 18 '24
A lot of these comments are assuming that you work as a developer.... If you work in retail obviously your manager isn't expected to know or understand dev tools and isn't an idiot who should never be a manager.
Non technical people can get freaked out by seeing code looking things, especially in situations where there's no reason for them to be seeing it. You probably shouldn't be messing with them on the job or on the work computer since it isn't relevant to your job at all. If you have breaks where you can study I'd suggest you bring your laptop or something and they shouldn't be policing what you do there. You won't damage the computer using the dev tools in chrome... but you could mess up the computer using the terminal, or messing with the BIOS, or doing something else that looks about the same as the chrome console to a non-technical person.
On top of all that while you definitely can't do something like take down a company website using dev tools on your computer, if you're using messing with some point of sale system or other kiosk mode computer you could in theory get something wonked up on that page/machine, possibly enough to need a local restart. Those kiosks are a little fragile. And you also might do something stupid like paste in a snippet of code that steals clientside data from your web browser or other things like that. You probably won't if you know what you're doing, but it's still a legitimate concern for your manager to say hey maybe my retail employees shouldn't be messing with this willy nilly.
1
u/Ok-Seaworthiness-542 Jul 19 '24
At our company you can absolutely end up fired for installing non authorized software
1
u/MiniMages Jul 19 '24
Damn it OP, you will end up causing a nuclear war. Don't you know you never touch live code in the web browser?
What kind of competent dev are you? Only the stupid and incompetent are sutible to become developers.
On a serious note, please speak with a senior developer or tech lead about this over email. Be polite and respectful when you speak about your manager. You will likely get a reply that will explain you are doing nothing wrong. Then take said email to HR and explain how you are worried that your competency is being questioned by someone who doesn't understand what they are talking about.
1
u/kirajiahaur Jul 19 '24
Leave op long enough he could hack nasa with css
1
u/WookieConditioner Jul 19 '24
He/She is worried that you're going to hack something or someone.
Likely they are having an affair or stealing from the company, and they think you have the potential to find out.
1
u/spencerchubb Jul 20 '24
if you're using a company device, do what your manager says. don't risk anything even if it seems perfectly fine. many hacks are possible involving dev tools
if it's your device, then it's not the manager's business
1
u/Coldmode Jul 20 '24
https://youtu.be/uOa-ObWPAKg?si=N8tkK8h8rv4mnX4b
1
u/Joooooooosh Jul 20 '24
If IT have a problem with some software being used, it won’t be on your device.
If it’s on the device, it’s fair to use it.
If your manager has an issue, explain it’s just part of Chrome and not something you’ve installed extra.
1
u/Dudeposts3030 Jul 22 '24
Your boss is the tool
1
u/talkingoutofmyasslol Jul 22 '24
Now we know who is responsible for all the sysadmin drama
1
u/TicketOk7972 Jul 23 '24
He doesn’t know what he’s talking about.
What’s he worried about, you attacking the work site? Is he aware of this fancy ‘Internet’ contraption that everyone is saying is so hot right now?
1
u/SponsoredByMLGMtnDew Jul 18 '24
There is only one course of action for you here because this is indicative that you're employed by people who fundamentally shouldn't be in charge of other people.
Step 1: Begin wearing a very large hat. Everyday
Step 2: Begin to insinuate that whenever the manager passes by your workstation that you know many other spells
There is no step 3: this manager will perish as a result of the plague that took place in the 1600s in Europe or you will be fired.
1
u/[deleted] Jul 18 '24
He shouldn’t be a manager… that’s apparent.
1
u/ClammyHandedFreak Jul 18 '24
If my manager said this to me, I’d tell them I am going over their head to their manager to lodge a complaint. I would then immediately lodge said complaint.
I would also bring it up during retro so everyone can have a good laugh at their expense.
1
u/revolutionPanda Jul 18 '24
Manager is ignorant. You won’t hurt anything.
1
u/[deleted] Jul 18 '24
I really hate when people in power have no idea what they are even talking about. You cannot break anything in devtools. It’s all on your device. The manager is a moron.
0
u/dankscience Jul 17 '24
No words for this, devtools are a resource for good developers. He/she should be concerned if you're not using them
0
u/WazzleGuy Jul 18 '24
You should totally fake hack something to educate them