/*
* @title ツイートのパーマネントURLから画像ページを開くやつ
* @description my bookmarklet
* @include http://*
* @license MIT License
* @require
*/
javascript:(() => {
const myURL = document.URL;
if(myURL.search(RegExp("x\\.com\\/[0-9A-Za-z]+\\/status\\/[0-9]+$")) != -1)
{
window.location.href = myURL + '/photo/1';
}
})()