1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Firefox pissing you off?

Discussion in 'BlackHat Lounge' started by the_demon, Sep 25, 2009.

  1. the_demon

    the_demon Jr. Executive VIP

    Joined:
    Nov 23, 2008
    Messages:
    3,177
    Likes Received:
    1,563
    Occupation:
    Search Engine Marketing
    Location:
    The Internet
    So recently firefox has been remaining open everytime I close it. I don't know why but, it happens on all of my computers.

    --> No it's not a virus. End of story.

    Anyways... I got tired of ctrl-alt-del all the time and manually closing it... So I wrote this program:

    Code:
    @echo off
    taskkill /f /im firefox.exe
    cls
    exit
    
    Simply copy and paste that code and save it as a .bat file. Such as FireKill.bat then put it in your C: folder or root drive so it's out of the way and create a shortcut to it in the task bar... Now, whenever firefox stays running in the background just click that icon and it's will be force killed.

    PS: Only works for windows vista

    Hope this helps :D
     
    • Thanks Thanks x 5
  2. FrozenSpade

    FrozenSpade Power Member

    Joined:
    Jul 20, 2008
    Messages:
    686
    Likes Received:
    331
    Occupation:
    IM
    Location:
    EU
    this was exactly what I was looking for. I have exactly the same problem.
    But I have winxp :(
     
  3. the_demon

    the_demon Jr. Executive VIP

    Joined:
    Nov 23, 2008
    Messages:
    3,177
    Likes Received:
    1,563
    Occupation:
    Search Engine Marketing
    Location:
    The Internet
    you should be able to use almost the same code except change the second line to:

    Code:
    tskill firefox.exe -f
    
    I think that should work... I tried using that code forever on vista and found out Microsoft decided to change commands for the same function >.<
     
  4. Debian

    Debian Jr. VIP Jr. VIP Premium Member

    Joined:
    Feb 17, 2009
    Messages:
    711
    Likes Received:
    282
    Occupation:
    Residential Proxies & VPN's
    Home Page:
    Never had this particular issue on Windows 7. Using Fire Fox 3.5.3 and its great so far.
     
  5. the_demon

    the_demon Jr. Executive VIP

    Joined:
    Nov 23, 2008
    Messages:
    3,177
    Likes Received:
    1,563
    Occupation:
    Search Engine Marketing
    Location:
    The Internet
    If you haven't experienced it yet it's probably because, you don't have certain plugins installed or you don't have any plugins.

    ... Don't worry i'm sure your FF hangs will come eventually :) :/ :( lol

    ... Oh, one thing I just thought of... If you create the nice little icon in your task bar right click it, select properties, then set the run option to minimize. This will stop the annoying command window from popping up in your face. Also, you can do change icon which I did and selected the nice little red X. :) (thought that was fitting)
     
    Last edited: Sep 25, 2009
  6. the_demon

    the_demon Jr. Executive VIP

    Joined:
    Nov 23, 2008
    Messages:
    3,177
    Likes Received:
    1,563
    Occupation:
    Search Engine Marketing
    Location:
    The Internet
    wow, that's extremely odd!

    You may want to scan your system for viruses, sometimes they mascaraed as a internet browser process so as to avoid detection.
     
  7. thephantom23

    thephantom23 Newbie

    Joined:
    Feb 1, 2009
    Messages:
    28
    Likes Received:
    5
    Location:
    Los Angeles
    firefox has been crashing 4 times in a row b3fore it runs! and chrome is a joke it always crashes like a girl with its cutesy "oh snap!" bullshit!
    I was really going nuts with lag until I saw this solution courtesy of Raymond's Blog

    http://www.raymond.cc/blog/archives/2009/08/15/firefox-3-5-slow-and-hangs-after-typing-a-few-letters-in-url-location-bar/


    My idea of fixing this Firefox slow respond problem is to export all the history into a txt file can search for it at a later time when I need it and then delete the Firefox history file to start all over again. Starting in Firefox 3, both the bookmarks and browsing history are stored in the places.sqlite file, located in the Firefox profile folder. Since the bookmark is also saved in the same file as history, I will need to backup my bookmarks as well. When I am done with that, I will try lowering down the number of days from 90 days to 45 days for Firefox to remember my browsing history.
    Backup Firefox Bookmarks
    1. Click Bookmarks from the menu bar and select Organize Bookmarks.
    2. Click the Import and Backup button and select Backup.
    3. Save the bookmark backup .json file to a location that you remember on your hard drive.

    Export Firefox Browsing History
    1. Download MozillaHistoryView and run it.
    2. You can either export it to text or HTML format. For HTML format, go to View and select "HTML Report - All Items". For text file, go to Edit and click on Select All. Then go to File and select Save Selected Items.
    Delete Firefox Browsing History File (places.sqlite)
    1. Make sure that Firefox is not running
    2. Go to RUN, type %appdata%/Mozilla/Firefox/Profiles/ and hit Enter.
    3. You should see a folder with random letters and numbers followed by a .default (eg; 89ns5tbp.default)
    4. Go in to the folder and rename the places.sqlite file to places.sqlite.bak

    Note: I noticed that clearing the "Browsing History" from Firefox doesn't make the size of places.sqlite file smaller. That's why I resort to letting Firefox re-create a new places.sqlite file.
    Run Firefox now and you should notice that Firefox no longer slow or hangs. To restore your bookmarks, go to Bookmarks in your menu bar and select Organize Bookmarks. Then click the Import and Backup button > Restore > Choose File. Select the file that your backed up earlier.
    Lower Firefox History Size
    1. Go to Tools > Options..
    2. Click on the Privacy button and click on the drop down menu for Remember History. Select "Use custom settings for history".
    3. Set the "Remember my browsing history for at least XX days" to 45 and click OK.

    Firefox developers should set a lower number of days for Firefox to remember the browsing history as default. 90 days is probably way too high and can cause the browser to crawl even on a Windows XP with 2GB of RAM.
     
    Last edited: Sep 25, 2009
  8. ericsson

    ericsson Elite Member Premium Member

    Joined:
    Apr 25, 2009
    Messages:
    2,642
    Likes Received:
    8,132
    Occupation:
    www
    Location:
    Swe
    Home Page:
    not only firefox will do this shit..

    also "utorrent" for me.

    i close the program, but still the program is found in windows task manager..
    i try to close the program in windows task manager several times, but it´s still there..

    maybe only me who haev this bug?

    /J
     
  9. cooolr

    cooolr Junior Member

    Joined:
    Jan 23, 2009
    Messages:
    116
    Likes Received:
    35
    yeah this was pissing me off on my windows, linux is fine though.
     
  10. gr33n

    gr33n Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2007
    Messages:
    501
    Likes Received:
    243
    Gender:
    Male
    Location:
    Ro
    firefox is pissing me too...The only reason i use it is because of roboform ...Ie is so fucked up i can't use either...thanks for the bat
     
  11. ericsson

    ericsson Elite Member Premium Member

    Joined:
    Apr 25, 2009
    Messages:
    2,642
    Likes Received:
    8,132
    Occupation:
    www
    Location:
    Swe
    Home Page:
    I´m using 80% Google Chrome.

    Still waiting to their API release.... ;)
     
  12. thephantom23

    thephantom23 Newbie

    Joined:
    Feb 1, 2009
    Messages:
    28
    Likes Received:
    5
    Location:
    Los Angeles
    I thought I was the only one that was running 3 fucked up browsers! I use chrome if I wanna see something fast or when firefox and IE are slowloading pages....chrome will crash if there is a longer blog or if there are any internals apps (load a pic into a profile) wanting 2 load. Ie will will freeze whenever and firefox randomly crashes and I jhae to restart it 3 times in a row ...usually loading a dif. profile...
     
  13. mexia

    mexia Registered Member

    Joined:
    Sep 7, 2009
    Messages:
    93
    Likes Received:
    16
    Occupation:
    Full time affiliate marketer
    Home Page:
    Thanks mate i have been using I.E for quite sometime now and i have been having similar problems with firefox. thanks once more for clearing the air for some of us who are not that tech savvy.
     
  14. essares1

    essares1 Junior Member

    Joined:
    Apr 27, 2009
    Messages:
    163
    Likes Received:
    27

    Or you can use process explorer from sysinternals to kill unresponsive programs immediately. This way you need not write some batch file for every program you need to kill. The only executable that this Process explorer could not kill was Truecrypt in 2 yrs of my experience.

    Plus, you can even get info like which program started which other program(the hierarchy), The memory and virtual memory the programs are using, the cpu percentage the individual programs and the overall system is using and if you get highly geeky you can even see the threads created by individual executables.
     
  15. adamenty

    adamenty Registered Member

    Joined:
    Jun 7, 2009
    Messages:
    83
    Likes Received:
    29
    Occupation:
    Marketing Executive
    Location:
    England
    It also works on windows 7 ultimate retail. But this error also happens from time to time on Windows 7 too. :(
     
  16. the_demon

    the_demon Jr. Executive VIP

    Joined:
    Nov 23, 2008
    Messages:
    3,177
    Likes Received:
    1,563
    Occupation:
    Search Engine Marketing
    Location:
    The Internet
    Someone mentioned uTorrent above...

    If your having problems with multiple apps you can always just add another line of code such as:
    Code:
    taskkill /f /im utorrent.exe
    taskkill /f /im chrome.exe
    
    and so on...

    PS: Yes batch files are old... REALLY old but, fact is they work great. You can actually do a $hit ton with them...

    For example: Compile the .bat file as an .exe (encrypted), using a ghost counsel, and seed it on torrent sites, when people click it it could spawn a shit ton of popups or something like that... You could even encrypt the bat code to avoid scanners and patter matching.....I won't get into all the potential hacking/virus distribution and all those kinds of possibilities as that's not allowed on BHW. But, if your open minded .bat can do some amazing things for you when combined with a few other creative elements.
     
  17. stevesdata

    stevesdata Regular Member

    Joined:
    Nov 3, 2008
    Messages:
    357
    Likes Received:
    140
    Location:
    Next to Chuck Norris
    I learnt a useful thing the other day.

    My ff doesnt crash but got slow as f&*k. I searched big g for ages and found go to tools > advanced > deselect auto updates for add-ons.

    This has dramatically sped things up for me although I have to clear the private data etc. etc. a lot.

    Stuff like this makes me want to go linux!

    :)
     
  18. niche1

    niche1 Jr. VIP Jr. VIP Premium Member

    Joined:
    Dec 22, 2007
    Messages:
    285
    Likes Received:
    144
    Thought it was just my computer.....now, I know that I am not alone!

    Same problems.....hanging, won't shut down, I have to restart the whole computer all over again at times.

    Interesting idea about the bat files.... :)