{"id":195,"date":"2022-06-04T17:14:12","date_gmt":"2022-06-04T08:14:12","guid":{"rendered":"https:\/\/www.b64.pw\/blog\/?p=195"},"modified":"2022-06-04T17:17:46","modified_gmt":"2022-06-04T08:17:46","slug":"%e3%83%96%e3%83%a9%e3%82%a6%e3%82%b6%e3%81%ae%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab%e3%81%a8url%e3%82%92%e3%82%b3%e3%83%94%e3%83%bc%e3%81%99%e3%82%8b%e3%83%96%e3%83%83%e3%82%af%e3%83%9e%e3%83%bc","status":"publish","type":"post","link":"http:\/\/www.b64.pw\/blog\/?p=195","title":{"rendered":"\u8868\u793a\u3057\u3066\u3044\u308b\u30da\u30fc\u30b8\u306e\u30bf\u30a4\u30c8\u30eb\u3068url\u3092\u30b3\u30d4\u30fc\u3059\u308b\u30d6\u30c3\u30af\u30de\u30fc\u30af\u30ec\u30c3\u30c8"},"content":{"rendered":"\n<p>\u624b\u3063\u53d6\u308a\u65e9\u304f\u4f7f\u3044\u305f\u3044\u65b9\u306f\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\u3057\u3066<br><code>javascript:(()=>{let tmpEl = document.createElement('pre');tmpEl.textContent = document.title+ '\\n'+ location.href;document.body.appendChild(tmpEl);document.getSelection().selectAllChildren(tmpEl);document.execCommand('copy');tmpEl.remove();})();<\/code><br><br>\u306a\u3093\u3067\u3082\u3044\u3044\u306e\u3067\u3059\u3067\u306b\u3042\u308b\u30d6\u30c3\u30af\u30de\u30fc\u30af\u53f3\u30af\u30ea\u30c3\u30af-\u7de8\u96c6-URL<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"438\" height=\"123\" src=\"https:\/\/www.b64.pw\/blog\/wp-content\/uploads\/2022\/06\/image.png\" alt=\"\" class=\"wp-image-196\" srcset=\"http:\/\/www.b64.pw\/blog\/wp-content\/uploads\/2022\/06\/image.png 438w, http:\/\/www.b64.pw\/blog\/wp-content\/uploads\/2022\/06\/image-300x84.png 300w\" sizes=\"(max-width: 438px) 100vw, 438px\" \/><\/figure>\n\n\n\n<p><br>\u306b\u5165\u308c\u3066\u4fdd\u5b58\u3059\u308c\u3070\u4f7f\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f7f\u3044\u65b9\u306f\u30bf\u30a4\u30c8\u30eb\u3068URL\u3092\u30b3\u30d4\u30fc\u3057\u305f\u3044\u30b5\u30a4\u30c8\u3092\u958b\u3044\u3066\u3053\u306e\u30d6\u30c3\u30af\u30de\u30fc\u30af\u3092\u62bc\u3059\u3068(\u30d6\u30c3\u30af\u30de\u30fc\u30af\u30d0\u30fc\u306b\u5165\u308c\u3066\u304a\u304f\u3068\u4fbf\u5229\u3067\u3059)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>snipet of engineer \u2013 programming memo\nhttps:&#47;&#47;www.b64.pw\/blog\/<\/code><\/pre>\n\n\n\n<p>\u3068\u3044\u3063\u305f\u611f\u3058\u3067\u30b3\u30d4\u30fc\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u89e3\u8aac<\/strong><\/p>\n\n\n\n<p>\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306a\u3069\u306e\u305f\u3081\u306b\u4e2d\u8eab\u3092\u77e5\u308a\u305f\u3044\u65b9\u306f\u4e0b\u8a18\u3092\u3054\u53c2\u8003\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>(()=&gt;{ \/\/ \u51e6\u7406\u3092\u30af\u30ed\u30fc\u30b8\u30e3\u3068\u3057\u3066\u5b9a\u7fa9\n  let tmpEl = document.createElement('pre');\/\/ \u30b3\u30d4\u30fc\u5bfe\u8c61\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u4e00\u6642\u7684\u306b\u5165\u308c\u308bDOM\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u4f5c\u6210\n  tmpEl.textContent = document.title+ '\\n'+ location.href;\/\/ pre\u30bf\u30b0\u306e\u4e2d\u8eab\u306b\u30da\u30fc\u30b8\u30bf\u30a4\u30c8\u30eb\u3068URL\u3092\u5165\u308c\u308b\n  document.body.appendChild(tmpEl);\/\/ \u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30da\u30fc\u30b8\u306e\u672b\u5c3e\u306bDOM\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8ffd\u52a0\n  document.getSelection().selectAllChildren(tmpEl);\/\/ \u8a72\u5f53\u306e\u7b87\u6240\u3092\u9078\u629e\n  document.execCommand('copy');\/\/ \u30b3\u30d4\u30fc\u30d0\u30c3\u30d5\u30a1\u306b\u66f8\u304d\u8fbc\u307f\n  tmpEl.remove();\/\/ \u4e00\u6642\u7684\u306b\u4f5c\u3063\u305fDOM\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u7834\u68c4(\u3084\u3089\u306a\u304f\u3066\u3082\u30b3\u30d4\u30fc\u81ea\u4f53\u306f\u3067\u304d\u308b\u304c\u3001\u30bf\u30a4\u30c8\u30eb\u3068URL\u304c\u6b8b\u3063\u305f\u307e\u307e\u306b\u306a\u308b)\n})() \/\/ \u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u624b\u3063\u53d6\u308a\u65e9\u304f\u4f7f\u3044\u305f\u3044\u65b9\u306f\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\u3057\u3066javasc &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"http:\/\/www.b64.pw\/blog\/index.php?rest_route=\/wp\/v2\/posts\/195"}],"collection":[{"href":"http:\/\/www.b64.pw\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.b64.pw\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.b64.pw\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.b64.pw\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=195"}],"version-history":[{"count":3,"href":"http:\/\/www.b64.pw\/blog\/index.php?rest_route=\/wp\/v2\/posts\/195\/revisions"}],"predecessor-version":[{"id":200,"href":"http:\/\/www.b64.pw\/blog\/index.php?rest_route=\/wp\/v2\/posts\/195\/revisions\/200"}],"wp:attachment":[{"href":"http:\/\/www.b64.pw\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.b64.pw\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=195"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.b64.pw\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}