Skip to content

Commit 7c2d5b8

Browse files
committed
fix
1 parent a3f58de commit 7c2d5b8

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 = /1s(?:0x[1-9A-Fa-f][0-9A-Fa-f]*):(0x[1-9A-Fa-f][0-9A-Fa-f]*)/.exec(url);
32+
let hexcid = /!3m4!1s(?:0x[0-9A-Fa-f]+):(0x[0-9A-Fa-f]+)!8m2/.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.3",
6+
"version": "1.0.4",
77
"homepage_url": "https://github.com/itagagaki/CopyCID",
88
"author": "Itagaki Fumihiko",
99
"default_locale": "en",

0 commit comments

Comments
 (0)