If you want to automate running Opera to run fuzzers, you’ll find that once you’ve crashed Opera, it does not start as normal the next time you run it. Opera had provided a “start-up dialog” for your convenience that shows up after you’ve crashed it. Also, Opera has a session restore feature that can cause problems when you start Opera using the command-line to open a URL; it will open the pages from the previous session as well. Unfortunately, I was unable to find configuration settings to disabled either one of these features.
To get around these problems I’ve created a program that will modify the “Opera.ini” file as well as delete the session folder. If you run this program, it will remove all traces of a crash that cause Opera to open the start-up dialog and restore the previous session. After running it, you can start Opera as usual.
On the off chance that you’ve encountered this problem, I’ve made the program available here. The program is called “dirtyOperaHack.cmd”. It is a chimera file; part JavaScript, part batch-file. I’ve also included the individual source files from which it was created for your convenience. You can run “make.cmd” to create ”dirtyOperaHack.cmd” from the individual source files.
UPDATE
Opera 10 seems to have changed the paths for some of these settings. I have an updated version of my “Dirty Opera Hack” script available here.


1 Comment to “Fuzzing Opera browser: how to get rid of the “start-up dialog” after a crash”
2010/10/29
simpler solution
uncheck:
opera:config#UserPrefs|ShowProblemDialog
Leave a Comment