Skip to content

Commit e1cb24a

Browse files
committed
Fix CID pattern
1 parent e49a6fc commit e1cb24a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

event.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ chrome.contextMenus.onClicked.addListener((info,tab)=>{
2929

3030
function copyCID(id, url)
3131
{
32-
let hexcid = /!3m\d+!1s(?:0x[0-9A-Fa-f]+):(0x[0-9A-Fa-f]+)!8m2/.exec(url);
32+
let hexcid = /!3m\d+!1s(?:0x[0-9A-Fa-f]+):(0x[0-9A-Fa-f]+)/.exec(url);
3333
if (!hexcid || !hexcid[1]) {
3434
alert(chrome.i18n.getMessage('no_CID'));
3535
} else {

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
"name": "__MSG_name__",
55
"description": "__MSG_desc__",
6-
"version": "1.0.5",
6+
"version": "1.0.6",
77
"homepage_url": "https://github.com/itagagaki/CopyCID",
88
"author": "Itagaki Fumihiko",
99
"default_locale": "en",

0 commit comments

Comments
 (0)