{"id":6884,"date":"2016-04-07T11:47:21","date_gmt":"2016-04-07T02:47:21","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=6884"},"modified":"2016-04-08T13:03:31","modified_gmt":"2016-04-08T04:03:31","slug":"microsoft-edge%e3%81%ae%e6%8b%a1%e5%bc%b5%e6%a9%9f%e8%83%bd%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e7%9f%ad%e7%b8%aeurl%e3%82%92%e5%8f%96%e5%be%97%e3%81%97%e3%81%a6%e3%81%bf%e3%82%8b%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=6884","title":{"rendered":"Microsoft Edge\u306e\u62e1\u5f35\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u77ed\u7e2eURL\u3092\u53d6\u5f97\u3057\u3066\u307f\u308b\u3002"},"content":{"rendered":"<p><span style=\"color: #ff0000; font-weight: bold;\">2016\/4\/8 \u8ffd\u8a18\uff1a<\/span><br \/>\nMicrosoft Windows 10 Insider Preview 10.0.14316 \u30d3\u30eb\u30c9 14316(Microsoft Edge 37.14316.1000.0)\u306b\u30a2\u30c3\u30d7\u3057\u305f\u3089\u30b3\u30fc\u30c9\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u305f\u306e\u3067\u66f8\u304d\u76f4\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><strong>\u30fbMicrosoft Edge\u306e\u62e1\u5f35\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u77ed\u7e2eURL\u3092\u53d6\u5f97\u3057\u3066\u307f\u308b(2)<\/strong><br \/>\n<a href=\"\/\/www.ka-net.org\/blog\/?p=6887\" title=\"Microsoft Edge\u306e\u62e1\u5f35\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u77ed\u7e2eURL\u3092\u53d6\u5f97\u3057\u3066\u307f\u308b(2) | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">\/\/www.ka-net.org\/blog\/?p=6887<\/a><\/p>\n<hr\/>\n<p>\u300c<a href=\"\/\/www.ka-net.org\/blog\/?p=6856\" title=\"Microsoft Edge\u306e\u62e1\u5f35\u6a5f\u80fd\u3092\u8272\u3005\u8a66\u3057\u3066\u307f\u305f\u3002 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">Microsoft Edge\u306e\u62e1\u5f35\u6a5f\u80fd\u3092\u8272\u3005\u8a66\u3057\u3066\u307f\u305f<\/a>\u300d\u3067\u66f8\u3044\u305f\u901a\u308a\u3001\u4eca\u306e\u6642\u70b9\u3067\u3082Microsoft Edge\u306e\u62e1\u5f35\u6a5f\u80fd(Microsoft Edge Extensions)\u3067\u591a\u5c11\u306e\u3053\u3068\u306f\u3067\u304d\u308b\u3088\u3046\u3060\u3063\u305f\u306e\u3067\u3001\u4eca\u56de\u306f\u5b9f\u7528\u7684\u306a\u6a5f\u80fd\u3092\u5b9f\u88c5\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h4 class=\"style4a\">\u77ed\u7e2eURL\u3092\u53d6\u5f97\u3059\u308b\u30dc\u30bf\u30f3<\/h4>\n<p>Twitter\u3067\u9577\u3044URL\u3092\u6295\u7a3f\u3059\u308b\u969b\u306b\u5f79\u7acb\u3064\u306e\u304c<a href=\"https:\/\/ja.wikipedia.org\/wiki\/%E7%9F%AD%E7%B8%AEURL#.E8.91.97.E5.90.8D.E3.81.AAURL.E7.9F.AD.E7.B8.AE.E3.82.B5.E3.83.BC.E3.83.93.E3.82.B9\" title=\"\u77ed\u7e2eURL - Wikipedia\" target=\"_blank\">URL\u77ed\u7e2e\u30b5\u30fc\u30d3\u30b9<\/a>\u3067\u3059\u3002<\/p>\n<p>\u7279\u306bGoogle\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308b\u300c<a href=\"https:\/\/goo.gl\/\" title=\"Google URL Shortener\" target=\"_blank\">Google URL Shortener<\/a>\u300d\u306f<a href=\"https:\/\/developers.google.com\/url-shortener\/\" title=\"URL Shortener  |  Google Developers\" target=\"_blank\">API<\/a>\u3082\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089\u7c21\u5358\u306b\u77ed\u7e2eURL\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3053\u306e<a href=\"https:\/\/developers.google.com\/url-shortener\/\" title=\"URL Shortener  |  Google Developers\" target=\"_blank\">API<\/a>\u3092\u4f7f\u3063\u3066\u3001Edge\u306e\u62e1\u5f35\u6a5f\u80fd\u304b\u3089\u8868\u793a\u4e2d\u306eWeb\u30da\u30fc\u30b8\u306e\u77ed\u7e2eURL\u3092\u53d6\u5f97\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #ff0000; font-weight: bold;\">\u203b Edge\u7528\u62e1\u5f35\u6a5f\u80fd\u306e\u30c6\u30b9\u30c8\u65b9\u6cd5\u306f<a href=\"\/\/www.ka-net.org\/blog\/?p=6842\" title=\"Microsoft Edge\u306e\u62e1\u5f35\u6a5f\u80fd\u3067Hello World\u3057\u3066\u307f\u305f\u3002 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">\u3053\u3061\u3089<\/a>\u306e\u8a18\u4e8b\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<h4 class=\"style4a\">manifest.json<\/h4>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">{\r\n  &quot;name&quot;: &quot;\u77ed\u7e2eURL\u53d6\u5f97&quot;,\r\n  &quot;description&quot;: &quot;Google URL Shortener API\u3092\u4f7f\u3063\u3066\u77ed\u7e2eURL\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002&quot;,\r\n  &quot;version&quot;: &quot;1.0.0.0&quot;,\r\n  &quot;locale&quot;: &quot;ja&quot;,\r\n  &quot;default_locale&quot;: &quot;ja&quot;,\r\n  &quot;icons&quot;: {\r\n    &quot;24&quot;: &quot;img\/icon_24.png&quot;,\r\n    &quot;128&quot;: &quot;img\/icon_128.png&quot;\r\n  },\r\n  &quot;background&quot;: {\r\n    &quot;page&quot;: &quot;background.html&quot;\r\n  },\r\n  &quot;browser_action&quot;: {\r\n    &quot;title&quot;: &quot;\u77ed\u7e2eURL&quot;,\r\n    &quot;icon&quot;: {\r\n      &quot;20&quot;: &quot;img\/icon_20.png&quot;,\r\n      &quot;25&quot;: &quot;img\/icon_25.png&quot;,\r\n      &quot;30&quot;: &quot;img\/icon_30.png&quot;,\r\n      &quot;40&quot;: &quot;img\/icon_40.png&quot;\r\n    }\r\n  }\r\n}<\/pre>\n<p>permissions\u306e\u8a2d\u5b9a\u304c\u5fc5\u8981\u304b\u3068\u601d\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u7121\u304f\u3066\u3082\u52d5\u4f5c\u3057\u305f\u306e\u3067\u3068\u308a\u3042\u3048\u305a\u7121\u3057\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h4 class=\"style4a\">background.html<\/h4>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">&lt;!DOCTYPE html&gt;\r\n&lt;html lang=&quot;ja&quot;&gt;\r\n&lt;head&gt;\r\n  &lt;title&gt;\u77ed\u7e2eURL\u53d6\u5f97&lt;\/title&gt;\r\n  &lt;meta charset=&quot;utf-8&quot;&gt;\r\n  &lt;script src=&quot;.\/js\/background.js&quot;&gt;&lt;\/script&gt;\r\n&lt;\/head&gt;\r\n&lt;\/html&gt;<\/pre>\n<h4 class=\"style4a\">background.js<\/h4>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">(function() {\r\n    typeof msBrowser != &quot;undefined&quot; ? chrome = msBrowser : typeof browser != &quot;undefined&quot; ? chrome = browser : chrome = null;\r\n    \r\n    chrome.browserAction.onClicked.addListener(function(tab) {\r\n        chrome.tabs.executeScript(null, {\r\n            &quot;file&quot; : &quot;.\/js\/ext.js&quot;\r\n        });\r\n    });\r\n})()<\/pre>\n<p>\u4eca\u56de\u306f\u30dc\u30bf\u30f3\u30af\u30ea\u30c3\u30af\u6642\u306b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u305f\u3044\u306e\u3067\u3001Tabs API\u306eexecuteScript\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u3001\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002<\/p>\n<h4 class=\"style4a\">ext.js<\/h4>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">var key = &quot;(Google API Console\u3067\u53d6\u5f97\u3057\u305fAPI\u30ad\u30fc)&quot;;\r\nvar xhr = new XMLHttpRequest();\r\n\r\nxhr.addEventListener(&quot;load&quot;, function(event) {\r\n    var obj = JSON.parse(this.responseText);\r\n    typeof obj.error != &quot;undefined&quot; ? alert(&quot;Error&quot;) : window.prompt(&quot;Short URL:&quot;, obj.id);\r\n});\r\n\r\nxhr.addEventListener(&quot;error&quot;, function(event) {\r\n    alert(&quot;Error&quot;);\r\n});\r\n\r\nxhr.open(&quot;POST&quot;, &quot;https:\/\/www.googleapis.com\/urlshortener\/v1\/url?key=&quot; + key);\r\nxhr.setRequestHeader(&quot;Content-Type&quot;, &quot;application\/json; charset=UTF-8&quot;);\r\nxhr.send(JSON.stringify({&quot;longUrl&quot;:location.href}));<\/pre>\n<p>API\u30ad\u30fc\u306e\u53d6\u5f97\u65b9\u6cd5\u306f\u300c<a href=\"\/\/www.ka-net.org\/blog\/?p=5776\" title=\"Goo.gl\u3067\u77ed\u7e2eURL\u3092\u53d6\u5f97\u3059\u308bVBA\u30de\u30af\u30ed | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">Goo.gl\u3067\u77ed\u7e2eURL\u3092\u53d6\u5f97\u3059\u308bVBA\u30de\u30af\u30ed<\/a>\u300d\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<br \/>\n(\u4eca\u306eGoogle API Console\u3060\u3068\u3061\u3087\u3063\u3068\u53d6\u5f97\u65b9\u6cd5\u304c\u7570\u306a\u308a\u307e\u3059\u304c\u3001\u5927\u4f53\u306f\u540c\u3058\u3067\u3059\u3002)<\/p>\n<h4 class=\"style4a\">\u52d5\u4f5c\u753b\u9762<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Microsoft_Edge_Extensions_03_01.gif\" alt=\"Microsoft_Edge_Extensions_03_01\" width=\"653\" height=\"538\" class=\"alignnone size-full wp-image-6885\" \/><\/p>\n<p>\u4e0a\u56f3\u306e\u901a\u308a\u3001\u62e1\u5f35\u6a5f\u80fd\u3092\u8aad\u307f\u8fbc\u3093\u3067\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u8868\u793a\u4e2d\u306eWeb\u30da\u30fc\u30b8\u306e\u77ed\u7e2eURL\u304cprompt\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u5c0f\u3055\u306a\u6a5f\u80fd\u3067\u3059\u304c\u3001\u3053\u3046\u3057\u3066\u81ea\u5206\u3067\u6a5f\u80fd\u3092\u62e1\u5f35\u3067\u304d\u308b\u306e\u306f\u3068\u3066\u3082\u4fbf\u5229\u3067\u3059\u3002<br \/>\nMicrosoft Edge\u306f\u307e\u3060\u65b0\u3057\u3044\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u3001\u8db3\u308a\u306a\u3044\u6a5f\u80fd\u3082\u305f\u304f\u3055\u3093\u3042\u308b\u306e\u3067\u3001\u3053\u306e\u62e1\u5f35\u6a5f\u80fd(Microsoft Edge Extensions)\u306b\u306f\u4eca\u5f8c\u3082\u671f\u5f85\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"2016\/4\/8 \u8ffd\u8a18\uff1a Microsoft Windows 10 Insider Preview 10.0.14316 \u30d3\u30eb\u30c9 14316(Microsoft Edge 37.14316.1000.0)\u306b\u30a2\u30c3\u30d7\u3057\u305f\u3089\u30b3 [&hellip;]","protected":false},"author":1,"featured_media":7115,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"executeScript\u306f\u4e2d\u3005\u4fbf\u5229\u3067\u3059\u3002 [Microsoft Edge\u306e\u62e1\u5f35\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u77ed\u7e2eURL\u3092\u53d6\u5f97\u3057\u3066\u307f\u308b]","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[132,25,133],"tags":[],"class_list":["post-6884","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows10","category-windows","category-microsoft-edge"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-MicrosoftEdge.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-1N2","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6884","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6884"}],"version-history":[{"count":3,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6884\/revisions"}],"predecessor-version":[{"id":6893,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6884\/revisions\/6893"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7115"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6884"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6884"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}