Skip to content

Commit 8a674a2

Browse files
authored
Update README.md
1 parent 2c55c37 commit 8a674a2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Picviewer CE+/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,12 @@ Feel free to share your own custom rules on Greasy Fork!
144144
<summary><h2>Advance rule wizard</h2></summary>
145145

146146
There are two types of rules available:
147+
147148
+ JSON (simple mode)
148149

149150
These rules are written in JSON format and can be imported online through [Discussions](https://github.com/hoothin/UserScripts/discussions) or [Reddit](https://www.reddit.com/r/PicviewerCE).
150151
They won't limited by websites that have a strict Content Security Policy that disallows unsafe-eval.
152+
151153
+ JSON params
152154
- name
153155

@@ -189,9 +191,11 @@ Feel free to share your own custom rules on Greasy Fork!
189191
`"xhr": { "url": ".showcase__link", "query": "img[fetchpriority]" }`
190192

191193
Fetch the link above the image that matches ".showcase__link" and query the "img[fetchpriority]" on the inner page from the link.
194+
192195
+ JS (full mode)
193196

194197
These rules are written in JavaScript object format. If you are not using a standalone userscript, they may be limited by websites that have a strict Content Security Policy that disallows unsafe-eval.
198+
195199
+ JS params
196200
- all mentioned above and the function type instead of string type
197201
- getImage

0 commit comments

Comments
 (0)