{"id":25254,"date":"2014-11-21T20:43:33","date_gmt":"2014-11-21T11:43:33","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=25254"},"modified":"2016-05-14T14:40:04","modified_gmt":"2016-05-14T05:40:04","slug":"menubar-webkit","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/menubar-webkit\/","title":{"rendered":"HTML\/JavaScript\u3092\u4f7f\u3063\u3066Mac\u306e\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u300cMenubar WebKit\u300d"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2014\/11\/INewImage107.png\" alt=\"NewImage\" title=\"NewImage.png\" border=\"0\" width=\"546\" height=\"520\" \/><\/p>\n<p>\u300c<a href=\"https:\/\/github.com\/HackPlan\/menubar-webkit\">Menubar WebKit<\/a>\u300d\u306fObjective-C\u3092\u4f7f\u308f\u305a\u3001HTML\/JavaScript\u3060\u3051\u3092\u4f7f\u3063\u3066Mac\u306e\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u306b\u5e38\u99d0\u3059\u308b\u30a2\u30d7\u30ea\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c\u74b0\u5883\u3067\u3059\u3002<\/p>\n<p>Menubar Webkit\u304c\"mw\"\u3068\u547c\u3070\u308c\u308bJavaScript\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u63d0\u4f9b\u3057\u3001\u30e6\u30fc\u30b6\u30fc(\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u30a2\u30d7\u30ea\u306e\u958b\u767a\u8005)\u306f\u3001mw\u7d4c\u7531\u3067\u5404\u7a2eMac\u306e\u6a5f\u80fd\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u901a\u77e5\u6a5f\u80fd\u3084\u3001\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u8868\u793a\u3001URL\u306e\u30aa\u30fc\u30d7\u30f3\u3001\u30e1\u30cb\u30e5\u30fc\u306e\u8868\u793a\u3001\u30aa\u30fc\u30c7\u30a3\u30aa\u518d\u751f\u3001\u30a2\u30e9\u30fc\u30c8\/\u78ba\u8a8d\u306e\u8868\u793a\u306a\u3069\u3092JavaScript\u304b\u3089\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u53ef\u80fd\u3067\u3001\u30c7\u30b6\u30a4\u30f3\u306fHTML\u3092\u4f7f\u3044\u307e\u3059\u3002\u3002<\/p>\n<h3>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30b3\u30f3\u30d1\u30a4\u30eb<\/h3>\n<p>\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3092<a href=\"http:\/\/guides.cocoapods.org\/using\/getting-started.html\">CocoaPods<\/a>\u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u4e8b\u524d\u306b\u6e96\u5099\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ul>\n<li>git clone https:\/\/github.com\/HackPlan\/menubar-webkit\n<li>menubar-webkit\u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\u3057\u300cpod install\u300d\u3092\u5b9f\u884c\u3002\n<li>menubar-webkit.xcworkspace\u3092Xcode\u3067\u958b\u304f(\u203bxcodeproj\u3067\u306f\u306a\u3044)\n<li>Xcode\u3067\u30d3\u30eb\u30c9\u3002\n<\/ul>\n<p>\u5b9f\u884c\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2014\/11\/I2014-11-21-20.22.25.png\" alt=\"2014 11 21 20 22 25\" title=\"2014-11-21 20.22.25.png\" border=\"0\" width=\"470\" height=\"336\" \/><\/p>\n<p>\u300cNotify\u300d\u3092\u62bc\u3059\u3068\u901a\u77e5\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2014\/11\/Iindex.html_.jpg\" alt=\"Index html\" title=\"index.html.jpg\" border=\"0\" width=\"546\" height=\"201\" \/><\/p>\n<p>\u81ea\u5206\u5c02\u7528\u30a2\u30d7\u30ea\u3092\u4f5c\u308b\u305f\u3081\u306b\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4e0b\u306e\u300c<span class=\"mybold\">app\/index.html<\/span>\u300d\u3092\u7de8\u96c6\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"html\">&lt;button onclick=\"mw.notify({title: 'Menubar WebKit', \r\n          content: 'Hello! SoftAntenna!!', popupOnClick: true})\"&gt;Notify&lt;\/button&gt;\r\n<\/code><\/pre>\n<p>\u4f8b\u3048\u3070\u300cNotify\u300d\u30dc\u30bf\u30f3\u304c\u62bc\u3055\u308c\u305f\u6642\u306e\u8868\u793a\u5185\u5bb9\u3092\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u3001\u4e0a\u8a18button\u30bf\u30b0\u306eonclick\u3067\u3001content\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u6587\u5b57\u5217\u3092\u5909\u66f4\u3059\u308c\u3070\u3088\u3044\u308f\u3051\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2014\/11\/Inotify.jpg\" alt=\"Notify\" title=\"notify.jpg\" border=\"0\" width=\"432\" height=\"200\" \/><\/p>\n<p>html\u3092\u5909\u66f4\u3057\u305f\u5834\u5408\u3001Menubar WebKit\u3092\u518d\u8d77\u52d5\u3057\u306a\u3044\u3068\u53cd\u6620\u3055\u308c\u306a\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n<h3>\u307e\u3068\u3081<\/h3>\n<p>\u73fe\u5728\u6fc0\u3057\u304f\u958b\u767a\u4e2d\u3067\u3042\u308aAPI\u306f\u5909\u66f4\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3053\u3068\u3001\u3055\u3089\u306bAPI\u306b\u95a2\u3059\u308b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304c\u898b\u5f53\u305f\u3089\u306a\u3044\u3053\u3068\u304b\u3089\u7d30\u304b\u3044\u90e8\u5206\u307e\u3067\u77e5\u308b\u306e\u306f\u5927\u5909\u305d\u3046\u3067\u3059\u304c\u3001Web\u3068\u30cd\u30a4\u30c6\u30a3\u30d6\u304c\u878d\u5408\u3057\u305f\u3001\u53ef\u80fd\u6027\u3092\u611f\u3058\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002<\/p>\n<p>Web\u958b\u767a\u8005\u306e\u65b9\u304c\u5c0f\u7269\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30a2\u30d7\u30ea\u3092\u4f5c\u308b\u305f\u3081\u306e\u5b9f\u884c\u74b0\u5883\u3068\u3057\u3066\u826f\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u30e9\u30a4\u30bb\u30f3\u30b9\u306fMIT\u30e9\u30a4\u30bb\u30f3\u30b9\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u300cMenubar WebKit\u300d\u306fObjective-C\u3092\u4f7f\u308f\u305a\u3001HTML\/JavaScript\u3060\u3051\u3092\u4f7f\u3063\u3066Mac\u306e\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u306b\u5e38\u99d0\u3059\u308b\u30a2\u30d7\u30ea\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c\u74b0\u5883\u3067\u3059\u3002 Menubar Webkit\u304c [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":25250,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[4,75],"tags":[3299,725],"class_list":["post-25254","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mac","category-software","tag-mac","tag-webkit"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/25254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=25254"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/25254\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/25250"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=25254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=25254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=25254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}