inoreader example
This commit is contained in:
parent
8751733d20
commit
1ce1a2175b
@ -143,6 +143,15 @@ function filterMessage() {
|
||||
}
|
||||
```
|
||||
|
||||
Remove "ads" from messages received from Inoreader. Method simply removes `div` which contains the advertisement.
|
||||
```js
|
||||
function filterMessage() {
|
||||
msg.contents = msg.contents.replace(/<div>\s*Ads[\S\s]+Remove<\/a>[\S\s]+adv\/www\/delivery[\S\s]+?<\/div>/im, '');
|
||||
|
||||
return MessageObject.Accept;
|
||||
}
|
||||
```
|
||||
|
||||
## `Message filters` dialog
|
||||
The dialog is accessible from menu `Messages -> Message filters` and is the central place for message filters management within RSS Guard. It allows you to:
|
||||
* add or remove message filters,
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 47f4125753452eff8800dbd6600c5a05540b15d9
|
||||
Subproject commit 9c10723bfbaf6cb85107d6ee16e0324e9e487749
|
Loading…
x
Reference in New Issue
Block a user