Skip to content

Instantly share code, notes, and snippets.

@karimelgazar
Last active October 28, 2021 06:54
Show Gist options
  • Save karimelgazar/897310c7e206cc7669a65ef4b44d9e0a to your computer and use it in GitHub Desktop.
Save karimelgazar/897310c7e206cc7669a65ef4b44d9e0a to your computer and use it in GitHub Desktop.
**************************** You Must Close All Chrome Windows Before Using ****************************
--force-dark-mode --disable-web-security --disable-gpu --user-data-dir --allow-file-access-from-files
*********** How To Use ***********
Linux
=======
sudo gedit /usr/share/applications/google-chrome.desktop
add the above lines to the end of
the lines starting with the word ========>>> Exec
see video for more details: https://www.youtube.com/watch?v=j0MeIulGTEI
==========================================================================
Windows
========
1- make a shortcut from the original chrome.exe >> You can find it in chrome://version/ >> <Executable Path>
2- Right-click on the shortcut Add This To The >> Target (section) in the Shortcut (tab)
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --disable-gpu --user-data-dir --allow-file-access-from-files
============================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment