Last active
July 23, 2025 23:38
-
-
Save hatappo/382f5d06d0b3e5e911737f15fa2f5696 to your computer and use it in GitHub Desktop.
Inoreader https://www.inoreader.com/starred で、表示されている一連の記事を「クリップボードにコピーしアーカイブする(orその日の日付でタグ付けする)」 Javascript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript: var t = [...document.querySelectorAll('a.article_title_link')].map((a) => {return a.href}); (async () => { try { await navigator.clipboard.writeText(t.join("\n")); alert(`コピーしました ${t.length}`)} catch (e) {alert(`コピーに失敗しました: ${e}`);}})(); document.querySelector('div.bulk-article-select-mode-header-btn a').click(); [...document.querySelectorAll('input[type=checkbox][name=article_bulk_select]')].forEach((i) => {i.click()}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var t = [...document.querySelectorAll('a.article_title_link')].map((a) => {return a.href}); | |
| (async () => { try { await navigator.clipboard.writeText(t.join("\n")); alert(`コピーしました ${t.length}`)} catch (e) {alert(`コピーに失敗しました: ${e}`);}})(); | |
| document.querySelector('div.bulk-article-select-mode-header-btn a').click(); | |
| [...document.querySelectorAll('input[type=checkbox][name=article_bulk_select]')].forEach((i) => {i.click()}); | |
| // document.querySelector('div.bulk_article_actions_button span.icon-archive').click(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript: var t = [...document.querySelectorAll('a.article_title_link')].map((a) => {return a.href}); (async()=>{try{await navigator.clipboard.writeText(t.join("\n")); alert(`コピーしました ${t.length}`)} catch (e) {alert(`コピーに失敗しました: ${e}`);}})(); document.querySelector('div.bulk-article-select-mode-header-btn a').click(); [...document.querySelectorAll('input[type=checkbox][name=article_bulk_select]')].forEach((i) => {i.click()}); document.querySelector('div.bulk_article_actions_button span.icon-all-tags').click(); document.querySelector('input.article_tags_filter').value = (new Date()).toLocaleDateString('sv-SE'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var t = [...document.querySelectorAll('a.article_title_link')].map((a) => {return a.href}); | |
| (async()=>{try{await navigator.clipboard.writeText(t.join("\n")); alert(`コピーしました ${t.length}`)} catch (e) {alert(`コピーに失敗しました: ${e}`);}})(); | |
| document.querySelector('div.bulk-article-select-mode-header-btn a').click(); | |
| [...document.querySelectorAll('input[type=checkbox][name=article_bulk_select]')].forEach((i) => {i.click()}); | |
| document.querySelector('div.bulk_article_actions_button span.icon-all-tags').click(); | |
| sleep() | |
| document.querySelector('input.article_tags_filter').value = (new Date()).toLocaleDateString('sv-SE'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript: var t = [...document.querySelectorAll('div.title_meta a')].map((a) => {return a.href}); (async()=>{try{await navigator.clipboard.writeText(t.join("\n")); alert(`コピーしました ${t.length}`)} catch (e) {alert(`コピーに失敗しました: ${e}`);}})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var t = [...document.querySelectorAll('div.title_meta a')].map((a) => {return a.href}); | |
| (async()=>{try{await navigator.clipboard.writeText(t.join("\n")); alert(`コピーしました ${t.length}`)} catch (e) {alert(`コピーに失敗しました: ${e}`);}})(); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
アーカイブの実行だけは手動でやりたいので、コメントアウト