generating a file that will automatically help you open a website at a regular time
First, install Yeoman and generator-openbot using npm (we assume you have pre-installed node.js).
npm install -g yo generator-openbotThen execute the following command:
yo openbotIt will generate autoOpen.html file for you.
If you are using the VSCode, then you can download the Live Server extension and use it to run autoOpen.html.
Or you can choose Need a live serve file option then it will generate serve.js for you.
then you can run autoOpen.html file with the following command:
node serve.jsNewer browsers generally disable pop-ups by default. Remember to set your browser to allow open pop-ups.
Then everything should work!
