You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Picviewer CE+/README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,10 +144,12 @@ Feel free to share your own custom rules on Greasy Fork!
144
144
<summary><h2>Advance rule wizard</h2></summary>
145
145
146
146
There are two types of rules available:
147
+
147
148
+ JSON (simple mode)
148
149
149
150
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).
150
151
They won't limited by websites that have a strict Content Security Policy that disallows unsafe-eval.
152
+
151
153
+ JSON params
152
154
- name
153
155
@@ -189,9 +191,11 @@ Feel free to share your own custom rules on Greasy Fork!
Fetch the link above the image that matches ".showcase__link" and query the "img[fetchpriority]" on the inner page from the link.
194
+
192
195
+ JS (full mode)
193
196
194
197
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
+
195
199
+ JS params
196
200
- all mentioned above and the function type instead of string type
0 commit comments