{"action":"opened","issue":{"number":43,"created_at":"2011-10-22T22:11:02Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I recently updated emacs_chrome and found that GMail became *really*\r\nslow, as in opening it takes ~20 seconds more, just scrolling up and\r\ndown takes 5 seconds instead of being instantaneous, when start typing\r\nan address to send mail to the auto-complete takes several seconds\r\ninstead of showing up right away.\r\n\r\nI tracked this down to recent changes in findTextAreas(), when I get\r\nrid of this code (which I seemingly don't need, as I can edit normal\r\ntext forms and forms on GMail which is all I use anyway) things just\r\nstart working normally again:\r\n    \r\n    diff --git a/textareas.js b/textareas.js\r\n    index c9bdf21..d784620 100644\r\n    --- a/textareas.js\r\n    +++ b/textareas.js\r\n    @@ -292,20 +292,6 @@ function findTextAreas() {\r\n                            tagTextArea(texts[i]);\r\n                    }\r\n     \r\n    -               // lets see if we can find any contenteditable stuff\r\n    -               var editable = $('*').find(\"div[contenteditable='true']\");\r\n    -               for (var i=0; i<editable.length; i++) {\r\n    -                       tagTextArea(editable[i]);\r\n    -               }\r\n    -\r\n    -               // According to http://www.w3.org/TR/html5/editing.html#contenteditable\r\n    -               // we should only see true/false or inherit. However G+ seems to ignore\r\n    -               // that so lets look for those here.\r\n    -               var editable = $('*').find(\"div[contenteditable='plaintext-only']\");\r\n    -               for (var i=0; i<editable.length; i++) {\r\n    -                       tagTextArea(editable[i]);\r\n    -               }\r\n    -               \r\n                    findingTextAreas = false;\r\n         }\r\n\r\n","comments":0,"title":"Really slow on Google Mail with recent changes in findTextAreas()","updated_at":"2011-10-22T22:11:02Z","url":"https://api.github.com/repos/stsquad/emacs_chrome/issues/43","id":2024618,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"57332d67a86eb51e06bf78d2baf42c3c","avatar_url":"https://secure.gravatar.com/avatar/57332d67a86eb51e06bf78d2baf42c3c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/avar","id":45301,"login":"avar"},"html_url":"https://github.com/stsquad/emacs_chrome/issues/43","labels":[],"state":"open"},"legacy":{"number":43,"action":"opened","issue":2024618}}