Hey all -
eliminated the black dot in the upper right hand corner of the top banner - fairly simple replace - but it is breaking all
of the other scripts on the page (drop down menus, message editor controls..) - the board admin is not interested in
fixing this, and empty tables are not rendered in ie or firefox
am i missing an important OO web concept here? (old unix/c grump here ;)
many thanks
pat
manifest
{
"manifest_version": 2,
"name": "no dots",
"description": "Remove annoying dots from
mtbnj.com",
"version": "1.0",
"content_scripts": [
{
"all_frames": true,
"run_at": "document_idle",
"js": ["modBorder.js"]
}
]
}
here is my content_script
var str1 = /border-style: solid;/,
str2 = 'border-style: none;';
if (document.body.nodeName === 'BODY') {
document.body.innerHTML = document.body.innerHTML.replace(str1, str2);
}