Last active
April 26, 2021 17:21
-
-
Save nobodyplace/49ef88e54c29e65d9d70191665cf77a2 to your computer and use it in GitHub Desktop.
ニコニコ動画 プレイヤー埋め込みコード ブックマークレット(展開)
This file contains 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 a = location.href.match(/watch\/([^\/]+)/)[1]; | |
var t = document.title.replace(/ - ニコニコ動画/,''); | |
var l='<script type="application/javascript" src="https://embed.nicovideo.jp/watch/'+a+'/script?w=720&h=480"></script><noscript><a href="https://www.nicovideo.jp/watch/'+a+'">'+t+'</a></noscript>'; | |
prompt("code",l); | |
void(0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment