mirror of
https://github.com/alexadam/save-as-ebook.git
synced 2025-09-14 19:29:50 +00:00
style url as regex instead of plain starts with
This commit is contained in:
parent
84dfab759f
commit
126ce6f039
3 changed files with 26 additions and 12 deletions
|
@ -35,8 +35,8 @@ chrome.runtime.onMessage.addListener(function(request, sender, sendResponse) {
|
|||
// TODO move defaultStyles in a different file/location ?
|
||||
var defaultStyles = [
|
||||
{
|
||||
title: 'reddit',
|
||||
url: 'reddit.com',
|
||||
title: 'Reddit Comments',
|
||||
url: 'reddit\.com\/r\/[^\/]+\/comments',
|
||||
style: `.class {
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue