Can you disable "save last window location" for Firefox?

Page 2 of 2 FirstFirst 12

  1. Posts : 25
    Windows 7 HP x64
    Thread Starter
       #11

    thanks for the profound trying to help me. I appreciate it.
    I have no reliable way to reproduce it either (at least when I just tested it), but it happens quite often. I'll try to remember exactly what I did the next time.

    A script... mh - would I have to "click" it manually and would it fill my trashbin?
      My Computer


  2. Posts : 10,485
    W7 Pro SP1 64bit
       #12

    registerme said:
    ....A script... mh - would I have to "click" it manually and would it fill my trashbin?
    The script would run all of the time - watching and waiting for Firefox to start and then exit.

    You can use the script below - you need to change the path to the localstore.rdf file. You do not need to compile the script - but you will need to install AutoIt to make use of it... see the second video in this post and the info below it.

    Code:
    Opt("TrayIconDebug", 1)
    
    While 1
        Sleep(100)
        If ProcessExists("firefox.exe") Then
            ;ProcessWaitClose("firefox.exe") ;uses too much cpu time
            Do
                Sleep(200)
            Until Not ProcessExists("firefox.exe")
            Sleep(300)
            $var = FileDelete("C:\Users\username\AppData\Roaming\Mozilla\Firefox\Profiles\25k5i5f4.default\localstore.rdf")
            If Not $var Then MsgBox(48, 'error', 'localstore.rdf was not deleted - chech the path')
        EndIf
    WEnd
      My Computer


  3. Posts : 25
    Windows 7 HP x64
    Thread Starter
       #13

    thank you very much! I'll try that in due time. :)
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:18.
Find Us