My Chrome extension uses chrome.tabs.insertCSS
method for modifying page styles. Sometimes I need to turn modifications off, is there way to do it without page reloading?
I know one way to do it: inject script with chrome.tabs.executeScript
instead which then creates style
element. Then I can cancel modification by removing inserted style
element.
But may be there is more direct solution.