Skip to content
This repository was archived by the owner on Apr 28, 2022. It is now read-only.

Commit 2a50a9c

Browse files
committed
Remove attempt to style <mark>
1 parent 93da985 commit 2a50a9c

File tree

4 files changed

+2
-10
lines changed

4 files changed

+2
-10
lines changed

background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ chrome.runtime.onInstalled.addListener(function() {
1616

1717
chrome.pageAction.onClicked.addListener((tab) => {
1818
chrome.tabs.executeScript(tab.id,
19-
{code: `document.mark.style.background = '#ecf0f7';`},
19+
{code: `document.body.style.background = '#e9ebee';`},
2020
function() {
2121
chrome.tabs.executeScript(tab.id, { file: 'contentscript.js' });
2222
});

contentscript.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,4 @@ asyncParallel({
115115
fbDevInterest.getFeed();
116116
`);
117117
});
118-
119-
// injectScriptFile('utils.js', function(){
120-
// injectScriptFile('inject.js');
121-
// });
122118
});

dist/background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ chrome.runtime.onInstalled.addListener(function() {
1616

1717
chrome.pageAction.onClicked.addListener((tab) => {
1818
chrome.tabs.executeScript(tab.id,
19-
{code: `document.mark.style.background = '#ecf0f7';`},
19+
{code: `document.body.style.background = '#e9ebee';`},
2020
function() {
2121
chrome.tabs.executeScript(tab.id, { file: 'contentscript.js' });
2222
});

dist/contentscript.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,4 @@ asyncParallel({
115115
fbDevInterest.getFeed();
116116
`);
117117
});
118-
119-
// injectScriptFile('utils.js', function(){
120-
// injectScriptFile('inject.js');
121-
// });
122118
});

0 commit comments

Comments
 (0)