kheina-com / Blue-Blocker

Blocks all Twitter Blue verified users on twitter.com
Mozilla Public License 2.0
343 stars 28 forks source link

Fix twitter x rename #282

Closed kheina closed 4 months ago

kheina commented 4 months ago

we should also take a serious look at these codeblocks, of which there are two in shared.ts

https://github.com/kheina-com/Blue-Blocker/blob/b4376ea4e1a6be81935c6b75ef65ba462d0ef854/src/shared.ts#L80-L84

https://github.com/kheina-com/Blue-Blocker/blob/b4376ea4e1a6be81935c6b75ef65ba462d0ef854/src/shared.ts#L80-L84

anything that references their domain name may have been updated including their api endpoints

Closes #280

cooljeanius commented 4 months ago

@rougetimelord compare against #281

rougetimelord commented 4 months ago

Whoops totally missed those regexes in shared.ts!

Still waiting to see if the API endpoints have changed over to the x.com domain from the reporter of #280, probably not a bad idea to just go ahead and add x.com to the regex for API endpoints but I kind of doubt that even Elon would break so many API wrappers like that.