Created
September 13, 2023 00:32
-
-
Save yuki2021/ee1f01640cf3bc9b17daf4c9f1ce03fe to your computer and use it in GitHub Desktop.
自分用のランダムなニュースサイトのURLを開くブックマークレット
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:(function() { | |
var urls = [ | |
'https://www.nikkei.com/', | |
'https://www3.nhk.or.jp/news/', | |
'https://ryukyushimpo.jp/', | |
'https://www.asahi.com/', | |
'https://www.sankei.com/', | |
'https://courrier.jp/', | |
'https://www.cnn.co.jp/', | |
'https://www.bbc.com/japanese', | |
'https://wired.jp/', | |
'https://www.techno-edge.net/', | |
'https://www.itmedia.co.jp/', | |
'https://toyokeizai.net/', | |
'https://diamond.jp/', | |
'https://forbesjapan.com/', | |
'https://www.businessinsider.jp/', | |
'https://brutus.jp/', | |
'https://www.1101.com/home.html', | |
'https://www.pen-online.jp/', | |
'https://natalie.mu/', | |
'https://www.oricon.co.jp/', | |
'https://www.med.or.jp/nichiionline/', | |
'https://www.natureasia.com/ja-jp', | |
'https://natgeo.nikkeibp.co.jp/', | |
'https://gigazine.net/', | |
'https://www.buzzfeed.com/jp', | |
'https://b.hatena.ne.jp/', | |
'https://nlab.itmedia.co.jp/', | |
'https://akiba-souken.com/' | |
]; | |
var randomUrl = urls[Math.floor(Math.random() * urls.length)]; | |
window.open(randomUrl, '_blank'); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment