Skip to content

Commit

Permalink
Twitter: Update title regex (#3092)
Browse files Browse the repository at this point in the history
  • Loading branch information
hackbunny authored Aug 3, 2023
1 parent 756ce07 commit 2b08a39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Twitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2022-02-01 20:17:45"
"lastUpdated": "2023-08-03 01:28:31"
}

/*
Expand Down Expand Up @@ -37,7 +37,7 @@
*/


let titleRe = /^(?:\(\d+\) )?(.+) .* Twitter: .([\S\s]+). \/ Twitter/;
let titleRe = /^(?:\(\d+\) )?(.+) .* Twitter: .([\S\s]+). \/ (?:Twitter|X)/;

function detectWeb(doc, url) {
if (url.includes('/status/')) {
Expand Down

0 comments on commit 2b08a39

Please sign in to comment.