![]() |
|
[Shell] Hiden way to open chrome with cmd - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Shell] Hiden way to open chrome with cmd (/showthread.php?tid=5898918) |
Hiden way to open chrome with cmd - blackcoder00 - Oct 24, 2018 How can i open a html /javascript code in chrome with cmd in hidden way RE: Hiden way to open chrome with cmd - M e l l o - Oct 25, 2018 (Oct 24, 2018 11:56 AM)blackcoder00 Wrote: How can i open a html /javascript code in chrome with cmd in hidden way If you want to open a Website in the internet, then use e.g start chrome h t t p : / / google . com the URL should be together, but HF dont let me Post links and others sources, coz I don't have more than 50 Posts 😟 But if you want to open a local html file, then you must give him the full Path where your html file is. Example: start chrome file : / / C:Users/Peter/htmlfile/test. html here have to be the file URL together But unfortunately, its not hidden the chrome browser. Hopefully I could help you a little. 🙂 Good luck. 👍 RE: Hiden way to open chrome with cmd - blackcoder00 - Oct 26, 2018 (Oct 25, 2018 11:46 PM)M e l l o Wrote: If you want to open a Website in the internet, then use e.gyeah i know how to start but the problem i want my script to be executed in a hidden way PHP Code RE: Hiden way to open chrome with cmd - Aadgjmptw72 - Oct 26, 2018 https://www.experts-exchange.com/questions/22094428/VBScript-RunAs-Hidden-Window.html Use this basic idea to try and launch chrome silently, I do not know if it will work all the same but its worth a shot. Good luck 🤝 edit: So, create a file like "file.vbs" with this inside: Code Dim objShelledit edit: tested, and doesn't hide the window.. Ill try to find you some other solution. edit edit edit: read up on: https://winaero.com/blog/run-a-program-hidden-in-windows-10/ it seems very possible to do in firefox, but not chrome (at least from my testing) RE: Hiden way to open chrome with cmd - wirelin3 - Oct 29, 2018 You should be able to use chrome in headless mode by passing '--headless' to chrome. It also from my quick look, '--disable-gpu' is needed due to a bug. Issue number 737678. Example Code chrome --headless --disable-gpu ${URL} |