{"provider_name":"Hatena Blog","description":"function alert_hoge() { // IE8\u306a\u3089\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u51fa\u308b\u304c\u3001firefox\u3060\u3068\u51fa\u306a\u3044 window.alert(\"\u753b\u9762\u9077\u79fb\u3055\u305b\u307e\u305b\u3093\uff01\"); // firefox\u3067\u306f\u3053\u306e\u6587\u5b57\u5217\u306f\u4f7f\u308f\u308c\u305a\u3001\u5b9a\u578b\u6587\u304c\u51fa\u308b return \"\u753b\u9762\u9077\u79fb\u3057\u306a\u3044\u3067\u306d\"; // IE\u3060\u3068\u300cfalse\u300d\u3068\u3044\u3046\u6587\u5b57\u5217\u304c\u51fa\u3066\u3057\u307e\u3046 // \u753b\u9762\u9077\u79fb\u305d\u306e\u3082\u306e\u3092\u30ad\u30e3\u30f3\u30bb\u30eb\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u306a\u3044 return false; // return\u304c\u7121\u3044\u306e\u3068\u540c\u3058\uff08\u753b\u9762\u9077\u79fb\u3057\u3066\u3057\u307e\u3046\uff09 return undefined; } $(window).bind('beforeunload',alert_hoge);","url":"https://iww.hateblo.jp/entry/20160725/onbeforeunload","blog_url":"https://iww.hateblo.jp/","width":"100%","version":"1.0","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20160725%2Fonbeforeunload\" title=\" \u753b\u9762\u9077\u79fb\u3092\u3055\u305b\u306a\u3044 - \u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"iww","type":"rich","provider_url":"https://hatena.blog","categories":["JavaScript"],"height":"190","blog_title":"\u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12","title":" \u753b\u9762\u9077\u79fb\u3092\u3055\u305b\u306a\u3044","author_url":"https://blog.hatena.ne.jp/iww/","published":"2016-07-25 00:00:00"}