Redirect specific sites by replacing part of the URL.
< 脚本 URL Replacer/Redirector 的反馈
If I'm understanding correctly, you want to replace two things: "/comments" with nothing, and "www" with "chan".
You could configure that as follows (now in the new settings page, not in storage):
Targets | Replacements | |
---|---|---|
/comments | ||
https://www | https://chan |
I'm including that extra "https://" to avoid replacing any other instances of "www" in the URL, but you may need to tweak it further.
Note that you'll want to leave the prefix/suffix blank - those are applied to all replacements.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
How would I accomplish this?
https://www.sankakucomplex.com/en/posts/8JaGogjZAaL/comments
{
"replacePrefix": "/comments",
"replaceSuffix": "/",
"replaceTheseStrings": {
"comments": ""
}
}
what I am trying to do is remove the /comments so it comes out a
https://www.sankakucomplex.com/en/posts/8JaGogjZAaL
Once I get that working than I can make the final change so it will finish as.
https://chan.sankakucomplex.com/en/posts/8JaGogjZAaL