add more css tags + apply style should work;; WIP

This commit is contained in:
alexadam 2017-05-20 21:45:47 +03:00
parent 20db190360
commit e4180c1808
2 changed files with 39 additions and 40 deletions

View file

@ -137,6 +137,8 @@ function dispatch(action, justAddToBuffer) {
chrome.tabs.executeScript(tab[0].id, {file: '/pure-parser.js'});
chrome.tabs.executeScript(tab[0].id, {file: '/cssjson.js'});
chrome.tabs.insertCSS(tab[0].id, {code: currentStyle.style}); // TODO remove from here --- see if it still works
chrome.tabs.executeScript(tab[0].id, {
file: 'extractHtml.js'
}, function() {