From c2fde7ad1b02e71f71fb29d30345e0d3a077bfb8 Mon Sep 17 00:00:00 2001 From: Shawn <45581750+KOP-XIAO@users.noreply.github.com> Date: Sat, 6 Jul 2019 16:25:48 +0800 Subject: [PATCH] Create Amark.js --- Scripts/Amark.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Scripts/Amark.js diff --git a/Scripts/Amark.js b/Scripts/Amark.js new file mode 100644 index 0000000..ab4dac8 --- /dev/null +++ b/Scripts/Amark.js @@ -0,0 +1,12 @@ +if ($request.url.indexOf('watermark') > 0) { + $done({url: $request.url.replace(/&watermark=\d/, "")}); +} else { + $done(); +} +if ($request.url.indexOf('vide.f7') > 0) { + $done({url: $request.url.replace(/vide\.f7/, "vide.f")}); +} else { + $done(); +} + +#### 原作者:https://Choler.github.io/Surge/Script/Amark.js