{"id":84,"date":"2006-03-22T18:15:32","date_gmt":"2006-03-23T01:15:32","guid":{"rendered":"http:\/\/outflux.net\/blog\/archives\/2006\/03\/22\/debugging-firefox-extensions\/"},"modified":"2006-03-23T09:43:57","modified_gmt":"2006-03-23T17:43:57","slug":"debugging-firefox-extensions","status":"publish","type":"post","link":"https:\/\/outflux.net\/blog\/archives\/2006\/03\/22\/debugging-firefox-extensions\/","title":{"rendered":"debugging firefox extensions"},"content":{"rendered":"<p>After installing my amd64 machine and getting my desktop moved, I noticed that <a href=\"http:\/\/mozilla.org\/\">Firefox<\/a> seemed to be running really slowly.  Especially google maps.  After Brian showed me the <a href=\"http:\/\/www.amazon.com\/exec\/obidos\/redirect?link_code=ur2&#038;tag=outflux-20&#038;camp=1789&#038;creative=9325&#038;path=http%3A%2F%2Fwww.amazon.com%2Fgp%2Fproduct%2F0596009283\">Firefox Hacks<\/a> book, I decided to try and dig into the cause.<\/p>\n<p>By setting the environment variable &#8220;NSPR_LOG_MODULES=all:5&#8221; you see damn near everything Firefox is doing while it does it.  I noticed that it was stalling every time it processed a new cookie (since I don&#8217;t let Google set cookies).  So I started removing each of my cookie extensions.<\/p>\n<p>To get myself back to a sane state, I just backed up my Firefox profile:<\/p>\n<blockquote><p>cp -a ~\/.mozilla\/firefox\/*.default ~\/firefox-profile<\/p><\/blockquote>\n<p>Then removed one extension, restarted Firefox, etc, until I found the busted one.  Turns out &#8220;Extended Cookie Manager&#8221; was my problem, so I replaced it with &#8220;Cookie Button in the status bar&#8221;.<\/p>\n<p>Tedious, but, it worked.  And for some reason, getting a list of all the Firefox environment variables proves to be very difficult.<\/p>\n<p style='text-align:left'>&copy; 2006, <a href=\"https:\/\/outflux.net\/blog\/\">Kees Cook<\/a>. This work is licensed under a <a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\">Creative Commons Attribution-ShareAlike 4.0 License<\/a>.<br \/><a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\"><img decoding=\"async\" alt=\"CC BY-SA 4.0\" style=\"border-width:0\" src=\"https:\/\/i.creativecommons.org\/l\/by-sa\/4.0\/88x31.png\" \/><\/a> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>After installing my amd64 machine and getting my desktop moved, I noticed that Firefox seemed to be running really slowly. Especially google maps. After Brian showed me the Firefox Hacks book, I decided to try and dig into the cause. By setting the environment variable &#8220;NSPR_LOG_MODULES=all:5&#8221; you see damn near everything Firefox is doing while [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"_links":{"self":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts\/84"}],"collection":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/comments?post=84"}],"version-history":[{"count":0,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts\/84\/revisions"}],"wp:attachment":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/media?parent=84"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/categories?post=84"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/tags?post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}