My js file contains some userid and password.I want to set as a prompt for new tab.
Asked
Active
Viewed 58 times
-2
-
There are certain user extensions that will execute arbitrary scripts in the browser. For creating one yourself you can see - https://stackoverflow.com/questions/29067198/trigger-chrome-extension-on-new-tab-open – pkanev Jun 09 '17 at 06:04
2 Answers
0
You can use bookmark,
press ctrl+D
in the name section, javascript: #your script
refer this Bookmarklet
I used to load script in this way for eg: Tatkal ticket booking, etc...

Mohideen bin Mohammed
- 18,813
- 10
- 112
- 118