Lockdown browsers are fun! 2
(code is past the break)
# Need: Ruby, this browser,
# and SysInternals Process Explorer
# Start Process Explorer, configure for always on
# top and only allow single instance, close it.
require 'win32ole'
BROWSER_PATH = ""
PROCEXP_PATH = ""
puts "Starting the lockdown browser"
shell = WIN32OLE.new('Shell.Application')
shell.ShellExecute(BROWSER_PATH, '', '', 'open', '1')
puts "Giving the lockdown browser time to breathe..."
sleep 10
puts "=> Ctrl-C to stop <="
while true do
shell = WIN32OLE.new('Shell.Application')
shell.ShellExecute(PROCEXP_PATH, '', '', 'open', '1')
sleep 20
endI’m posting this because that browser frustrates me. I have to boot into Windows to use it. This makes me feel better about having to use it. Cheating or doing anything that might get you or me in trouble is a bad idea.
Plus, if you can figure out this program, you probably feel my pain :)