![]() |
|
#1
|
|||
|
|||
|
Hello,
Another patch. Sorry I can't remember which browsers this applied to, but I got the error "Object does not support this property or method" because the "title" propery of nodes is not always a string. The function checkElemBO does not verify that it is. I added the first line to checkElemBO : function checkElemBO(txt) { if (!txt || typeof(txt) != 'string') return false; if ((txt.indexOf('header')>-1)&(txt.indexOf('body')>-1)&(txt.indexOf('[')>-1)&(txt.indexOf('[')>-1)) return true; else return false; } BTW Thanks for this great script. Anselm. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|