Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 27 additions & 7 deletions bookmarklets/memo.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ローカルメモ
// IndexedDBにメモを保存し、編集・コピー・削除ができるフローティングメモウィジェット
// 📝
// v61
// v62
// 2026-06-24

(async function run(startupOptions = {}) {
Expand Down Expand Up @@ -49,7 +49,9 @@
`z-index:${Z_INDEX.BASE}`,
'border:none',
'outline:none',
'background:transparent'
'background:transparent',
'user-select:text',
'-webkit-user-select:text'
].join(';');

// Use Popover API for proper display management
Expand Down Expand Up @@ -188,11 +190,21 @@
// All version information is maintained here for easy updates and display
const VERSION_INFO = {
// Current version (automatically used in file header)
CURRENT: 'v61',
CURRENT: 'v62',
// Last update date (automatically used in file header)
LAST_UPDATED: '2026-06-24',
// Complete version history (displayed in update information tab)
HISTORY: [
{
version: 'v62',
date: '2026-06-24',
features: [
'Discord等Electron/Chromium環境でテキスト選択ができない問題を修正:user-select:noneの継承を明示的に打ち消し',
'shadow host、wrap、全ダイアログオーバーレイ(設定・変数編集・テンプレート入力)にuser-select:textを直接指定',
'非常にきれいな実装:既存コードに影響を与えず、最小限のプロパティ追加で問題を解決',
'安全で確実な動作:全環境でテキスト選択が正しく動作することを保証'
]
},
{
version: 'v61',
date: '2026-06-24',
Expand Down Expand Up @@ -1971,7 +1983,9 @@
'display:flex',
'align-items:center',
'justify-content:center',
'backdrop-filter:blur(2px)'
'backdrop-filter:blur(2px)',
'user-select:text',
'-webkit-user-select:text'
].join(';'));

// Form container
Expand Down Expand Up @@ -2358,7 +2372,9 @@
'display:flex',
'align-items:center',
'justify-content:center',
'backdrop-filter:blur(2px)'
'backdrop-filter:blur(2px)',
'user-select:text',
'-webkit-user-select:text'
].join(';'));

// Dialog container
Expand Down Expand Up @@ -3237,7 +3253,9 @@
`z-index:${Z_INDEX.MODAL_OVERLAY}`,
'display:flex',
'align-items:center',
'justify-content:center'
'justify-content:center',
'user-select:text',
'-webkit-user-select:text'
].join(';'));

// Create modal container
Expand Down Expand Up @@ -3494,7 +3512,9 @@
'font-family:sans-serif',
'font-size:14px',
'box-sizing:border-box',
'line-height:1.5'
'line-height:1.5',
'user-select:text',
'-webkit-user-select:text'
].join(';'));

const header = createElement('div', [
Expand Down
6 changes: 3 additions & 3 deletions index.html

Large diffs are not rendered by default.

Loading