Skip to content

Commit

Permalink
fix PATTERN_TWITTER
Browse files Browse the repository at this point in the history
  • Loading branch information
youniaogu committed May 31, 2022
1 parent d5e3508 commit 6e97e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const PATTERN_STEAM = /^https:\/\/store\.steampowered\.com\/app\//;
const PATTERN_JUEJIN = /^https:\/\/juejin\.cn\/post\//;
const PATTERN_CSDN_1 = /^https:\/\/blog\.csdn\.net\/\w+\/article\/details\/\d+/;
const PATTERN_CSDN_2 = /^https:\/\/\w+\.blog\.csdn\.net\/article\/details\/\d+/;
const PATTERN_TWITTER = /^https:\/\/twitter\.com\/.+\/status\/.+/;
const PATTERN_TWITTER = /^https:\/\/twitter\.com\/.+/;
const PATTERN_GITHUB_REPOS = /^https:\/\/github\.com\/[a-z0-9A-Z\.\_\-]+\/[a-z0-9A-Z\.\_\-]+(?=[^\/]*$)/;

const href = window.location.href;
Expand Down

0 comments on commit 6e97e05

Please sign in to comment.