Post AQJLvOUextIAA1DKFc by joshmc@fosstodon.org
 (DIR) More posts by joshmc@fosstodon.org
 (DIR) Post #AQJLvMmfJyVSrHcg2S by bbbhltz@fosstodon.org
       2022-12-05T22:16:48Z
       
       0 likes, 0 repeats
       
       I need a little #helpI am trying to make a simple redirect script for a news site I use often.I just need to replace part of the url, like in this screenshot.Before you ask, no, I don't know what I a doing, but I have been trying for a bit.
       
 (DIR) Post #AQJLvNSqn8Fay7MMnA by joshmc@fosstodon.org
       2022-12-05T22:19:53Z
       
       0 likes, 0 repeats
       
       @bbbhltz hmmm. Not sure what you need to replace. Need more details.
       
 (DIR) Post #AQJLvO2IfKbgk3wg2y by bbbhltz@fosstodon.org
       2022-12-05T22:21:57Z
       
       0 likes, 0 repeats
       
       @joshmc the entire first part of the URL up until the numbers. The story number is #.#######. The host is the same, but a new path is inserted between the host and the story number.
       
 (DIR) Post #AQJLvOUextIAA1DKFc by joshmc@fosstodon.org
       2022-12-05T22:32:17Z
       
       0 likes, 0 repeats
       
       @bbbhltz https://isaac.tips/redirect-urls-using-regex/ might help ya.
       
 (DIR) Post #AQJLvOz98Xg7gZTflo by joshmc@fosstodon.org
       2022-12-05T22:35:27Z
       
       0 likes, 0 repeats
       
       @bbbhltz let me know if that helps you. Busy day or I'd do it for ya! :blobcatgamer:
       
 (DIR) Post #AQJLvP5Am8UzzGIUAC by joshmc@fosstodon.org
       2022-12-05T22:21:43Z
       
       0 likes, 0 repeats
       
       @bbbhltz you need to replace the blue highlight?
       
 (DIR) Post #AQJLvPKlq8yYldawTY by bbbhltz@fosstodon.org
       2022-12-05T22:38:10Z
       
       0 likes, 0 repeats
       
       @joshmc it is a start, I just don't know how to write userjs, when to use @include or @match, all that. I will play with it, I feel like the answer is simple enough, and I am just not looking at the right part of the docs
       
 (DIR) Post #AQJLvPy7TqS2jg0MoC by bbbhltz@fosstodon.org
       2022-12-05T22:38:37Z
       
       0 likes, 0 repeats
       
       @joshmc and thanks, by the way!
       
 (DIR) Post #AQJLvQLs3XRxvL7KpU by joshmc@fosstodon.org
       2022-12-05T22:39:56Z
       
       0 likes, 0 repeats
       
       @bbbhltz no problem. Trying to get dinner ready before game night with cousin. :)