/*
* @title ページタイトルとURLを表示
* @description ページタイトルとURLをalert()で表示するだけ。
* @include http://*
* @license MIT License
*/
var t = document.getElementsByTagName('head')[0];
t = t && t.getElementsByTagName('title')[0];
t = (t && (t.innerText || t.textContent)) || '';
alert(t + ' ' + location.href);