javascript - How do I unset CSS values? -


i have written firefox extension alters , feel of facebook. used js code inject css styles override fb defined values. url patterns don't want force styles. issue here fb doesn't seem load full page parts of page (but somehow url in address changes).

this means when new page loads old styles still remain applied , want restore them original values. how should that?

you should inject custom css styles 1 <style> element, , remove <style> element (using javascript) when new page loaded on don't want custom css.

here's example using jquery: http://jsfiddle.net/thirtydot/bapzf/


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -