Firefox stuck to taskbar

User Help for Mozilla Firefox
Post Reply
mtb2k
Posts: 5
Joined: December 21st, 2010, 5:11 pm

Firefox stuck to taskbar

Post by mtb2k »

Firefox suddenly disappeared and is stuck to the taskbar. I kill the process and open it, and it immediately minimizes itself to the taskbar and is stuck. It will not maximize or display. I can open another instance but it freezes up once I go into option to try and make some changes.

I have several tabs I'd rather not lose if they can be saved somehow.
mtb2k
Posts: 5
Joined: December 21st, 2010, 5:11 pm

Re: Firefox stuck to taskbar

Post by mtb2k »

I'm running windows 7 64.
rhuris
Guest

Re: Firefox stuck to taskbar

Post by rhuris »

If you make a backup copy of the sessionstore.js file and sessionstore.bak (if it exists) from your profile folder you may be able to use them to restore your tabs, or you may be able to view the contents of the file to see what pages were open.
http://kb.mozillazine.org/Profile_folder_-_Firefox
Make that backup before doing anything else.

Then, have you rebooted the computer since you started having trouble?
mtb2k
Posts: 5
Joined: December 21st, 2010, 5:11 pm

Re: Firefox stuck to taskbar

Post by mtb2k »

Thanks for the replies here. I found the solution at this link!! viewtopic.php?f=38&t=622036&p=10240973#p10240973

I've used ZeePrime's code to solve this problem and basically just chose the links i wanted, which are very conveniently listed easily and in order, and reopened them to create a new session. Problem solved. It was apparently one of the websites with some obviously CRAP code whether it was intentional or not.

I've saved his instructions into my own little set of instructions for future reference. Again, this is not my work, and thanks again to ZeePrime.


-------------------------------------------------------------------------------------------------------------------

Access links to session tabs and start new session with them:

Find "PUT CONTENTS OF sessionstore.js HERE" in the code below and replace it. Delete < > brackets as well, and replace it with contents of sessionstore.js in a text file. Rename to .html. Delete sessionstore.js and .bak from firefox profile folder. Open the html and reopen the links you want for new session.

<html><head>
<style type="text/css">
a.selected, li.selectedtab { color: blue; font-weight: bold; }
li.closedtab { color: red; text-decoration: line-through; }
</style>
</head><body>
<ul id="windows">
<script type="text/javascript">
function dowindow(wind,wname,wclass) {
document.write("<li class=\"" + wclass + "\">");
document.write("<b>" + wname + "</b>");
document.write("<ol class=\"tabs\">");
var sel = wind["selected"];
var tabs = wind["tabs"];
for (var j = 0; j < tabs.length; j++) {
var tabclass = "tab"
if (j + 1 == sel) tabclass = "selectedtab"
dotab(tabs[j],"Tab #" + (j+1),tabclass);
}
var tablen = tabs.length;
tabs = wind["_closedTabs"];
for (var j = 0; j < tabs.length; j++) {
dotab(tabs[j]["state"],"Tab #" + (tablen + j + 1),"closedtab");
}
document.write("</ol>");
document.write("</li>");
}
function dotab(tab,tname,tclass) {
document.write("<li class=\"" + tclass + "\">");
document.write("<b>" + tname + "</b>");
document.write("<ul class=\"urls\">");
var sel = tab["index"];
var urls = tab["entries"];
for (var j = 0; j < urls.length; j++) {
var urlclass = "url"
if (j + 1 == sel) urlclass = "selectedurl"
dourl(urls[j],urlclass);
}
document.write("</ul>");
document.write("</li>");
}
function dourl(url,uclass) {
document.write("<li class=\"" + uclass + "\">");
var uname = url["title"];
if (!(uname) || uname == "") uname = url["url"];
document.write("<a href=\"" + url["url"] + "\">" + uname + "</a>");
document.write("</li>");
}
var data = <PUT CONTENTS OF sessionstore.js HERE!>;
var windows = data["windows"];
for (var i = 0; i < windows.length; i++) {
dowindow(windows[i],"Window #" + (i+1),"window");
}
</script>
</ul>
</body></html>



-------------------------------------------------------------------------------------------------------------
Post Reply