▽1
●
siachan ●100ポイント ベストアンサー |
マイ単語帳を開いた状態で以下のブックマークレットを実行すると、スピーカーマークの付近に@記号が表示されるので、そこを右クリックすれば保存できます。
javascript:(function(d){var%20a,t,i,m,s,f=function(x,y,z){a=d.createElement('a');a.href='http://uwl.westatic.com/api/audio-api?lemma='+x+'.mp3'+(z==null?'':'/'+z);a.target='_blank';a.textContent='@';d.getElementById(y).parentNode.parentNode.appendChild(a)};t=d.getElementById('tngIdWlHdTr').parentNode.getElementsByTagName('script');for(i=0;i<t.length;i++){m=t[i].innerHTML.match(/d\(\\'(.+?)\\.+?'(.+?)\\/);f(m[1],m[2],null);s=m[2].substr(0,6)+'S'+m[2].substr(6);m=d.getElementById(s).parentNode.getAttribute('onclick').match(/\('(.+?)'.+?'(.+?)'.+?'(.*?)'/);f(m[1],m[2],m[3])}})(document);