How can I load a local html page on chromium in Incognito mode?

6,886

Solution 1

Open terminal and run the below command, change the url accordingly.

chromium-browser --incognito file:///home/srinivas/example-page.html

To make things easy you can put the code in a text file and save it with a .sh extension.

Once its saved right click on the file, navigate to the permission tab and check mark

allow executing file as program

enter image description here

Solution 2

Run this command in the terminal:

chromium-browser --incognito <path-to-file>

A picture example after running the command above on a html page I saved online (this page actually):

enter image description here

Share:
6,886

Related videos on Youtube

Mario Garcia Castellano
Author by

Mario Garcia Castellano

Updated on September 18, 2022

Comments

  • Mario Garcia Castellano
    Mario Garcia Castellano almost 2 years

    Does anyone know how to load a local html page on chromium in incognito mode using a shortcut link or by the terminal ?

  • Mario Garcia Castellano
    Mario Garcia Castellano about 12 years
    Brilliant!! That's exactly what I wanted. Thankyou.. Greetings from Spain
  • Nolfster
    Nolfster about 12 years
    Your welcome :-)