Created
July 26, 2026 03:27
-
-
Save sendarionn/090f498de78a31a1299191753c38285b to your computer and use it in GitHub Desktop.
開いているYouTube動画つきのCosenseページを作成するブックマークレット({project-name}は対象プロジェクト名で置換)
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:(function(){ var title = document.title; var cleanTitle = title.replace(/\s*-\s*YouTube$/, '').trim(); var url = encodeURIComponent(location.href); var scrapboxUrl = 'https://scrapbox.io/{project-name}/' + encodeURIComponent(cleanTitle) + '?body=[%27 + url + %27]%27; window.open(scrapboxUrl, %27_blank%27);})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment