{"id":228607,"date":"2014-07-04T17:41:03","date_gmt":"2014-07-04T13:41:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=228607"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=228607","title":{"rendered":"<span class=\"post_title\">\u041f\u0438\u0448\u0435\u043c \u0431\u043e\u0442\u0430 \u0434\u043b\u044f \u043e\u043d\u043b\u0430\u0439\u043d-\u0438\u0433\u0440\u044b \u043d\u0430 JavaScript \u0441 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u043c AOP<\/span>"},"content":{"rendered":"<div class=\"content html_format\">     \t<img decoding=\"async\" align=\"left\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/e44\/95f\/a01\/e4495fa011891f5614f7911ba1f7b14a.jpg\"\/><br \/>  \u0415\u0441\u043b\u0438 \u0432\u044b \u043a\u0430\u043a \u0438 \u044f \u043b\u044e\u0431\u0438\u0442\u0435 \u043e\u043d\u043b\u0430\u0439\u043d \u0438\u0433\u0440\u044b, \u043d\u043e \u043d\u0435 \u043b\u044e\u0431\u0438\u0442\u0435 \u0442\u0440\u0430\u0442\u0438\u0442\u044c \u043d\u0430 \u043d\u0438\u0445 \u0441\u0438\u043b\u044c\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u0442. \u041c\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u043e\u0431\u0441\u0443\u0436\u0434\u0430\u0442\u044c \u0431\u043e\u0442\u044b \u044d\u0442\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u0438\u043b\u0438 \u043d\u0435\u0442, \u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u043e\u043d\u043b\u0430\u0439\u043d \u0438\u0433\u0440\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0431\u043e\u0442\u0430. \u041e\u043d \u0431\u0443\u0434\u0435\u0442 \u043d\u0435 \u0442\u0443\u043f\u043e \u043a\u043b\u0430\u0446\u0430\u0442\u044c \u043f\u043e \u043a\u043d\u043e\u043f\u043a\u0435 \u043f\u043e \u0442\u0430\u0439\u043c\u0430\u0443\u0442\u0443, \u0430 \u0431\u0443\u0434\u0435\u0442 \u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435. \u042d\u0442\u043e \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0410\u0441\u043f\u0435\u043a\u0442\u043d\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f (\u0434\u0430\u043b\u0435\u0435 AOP). \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u044f \u0432\u044b\u0431\u0440\u0430\u043b \u043f\u043e\u043b\u044e\u0431\u0438\u0432\u0448\u0443\u044e\u0441\u044f \u0445\u0430\u0431\u0440\u043e\u043c \u0438\u0433\u0440\u0443 \u041f\u0435\u0440\u043d\u0430\u0442\u0441\u043a.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>1. \u0413\u043e\u0442\u043e\u0432\u0438\u043c \u0438\u043d\u0433\u0440\u0435\u0434\u0438\u0435\u043d\u0442\u044b<\/h4>\n<p>  \u041d\u0430\u043c \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f:  <\/p>\n<ul>\n<li> \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u0430 \u0441\u0430\u043c\u0430 \u0438\u0433\u0440\u0430. \u042f \u0431\u0443\u0434\u0443 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 <a href=\"http:\/\/pernatsk.ru\/\">\u041f\u0435\u0440\u043d\u0430\u0442\u0441\u043a\u0430<\/a><\/li>\n<li> \u0411\u0440\u0430\u0443\u0437\u0435\u0440. \u0423 \u043c\u0435\u043d\u044f \u0432\u0441\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e \u2014 Chrome<\/li>\n<li> \u0422\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0438\u043b\u0438 \u0432 \u0447\u0435\u043c \u0432\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c JS \u043a\u043e\u0434. Notepad++ \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442<\/li>\n<li> \u0410\u043a\u043a\u0430\u0443\u043d\u0442 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u0436\u0430\u043b\u043a\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0442\u0435\u0440\u044f\u0442\u044c \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0431\u0430\u043d\u0430<\/li>\n<\/ul>\n<p>  <b>\u0412\u0430\u0436\u043d\u043e!<\/b> \u0418\u0433\u0440\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435, \u0430 \u043d\u0435 \u0432 \u043a\u043b\u0438\u0435\u043d\u0442\u0435. \u041f\u0440\u0438\u0447\u0435\u043c \u043d\u0435 \u043d\u0430 Flash, \u0430 \u043d\u0430 HTML+JavaScript.<br \/>  \u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u0443 \u043d\u0430\u0441 \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u0434\u043b\u044f Chrome, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u0443\u0434\u0435\u0442 \u0438\u0433\u0440\u0430\u0442\u044c \u0432\u043c\u0435\u0441\u0442\u043e \u043d\u0430\u0441.  <\/p>\n<h4>2. \u0414\u0435\u043b\u0430\u0435\u043c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435<\/h4>\n<p>  \u041e \u0442\u043e\u043c \u043a\u0430\u043a \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u044f \u043d\u0435 \u0431\u0443\u0434\u0443 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0440\u0430\u0441\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c. \u041d\u0430 \u0445\u0430\u0431\u0440\u0435 \u043e\u0431 \u044d\u0442\u043e\u043c \u0443\u0436\u0435 \u043f\u0438\u0441\u0430\u043b\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <a href=\"http:\/\/habrahabr.ru\/post\/198652\/\">\u0442\u0443\u0442<\/a>.<br \/>  \u041f\u0440\u0438\u0432\u0435\u0434\u0443 \u043b\u0438\u0448\u044c \u043a\u043e\u0434\u044b, \u043d\u0443\u0436\u043d\u044b\u0445 \u043d\u0430\u043c \u0444\u0430\u0439\u043b\u043e\u0432.<br \/>  \u0412 manifest.json<\/p>\n<pre><code class=\"javascript\">{   &quot;name&quot;: &quot;BOT for pernatsk&quot;,   &quot;version&quot;: &quot;0.1&quot;,   &quot;manifest_version&quot;: 2,   &quot;content_scripts&quot;: [     {       &quot;matches&quot;: [ &quot;http:\/\/pernatsk.ru\/*&quot; ],       &quot;js&quot;: [ &quot;background.js&quot; ], \t  &quot;run_at&quot;: &quot;document_end&quot;     }   ],   &quot;permissions&quot;: [           &quot;storage&quot;   ],   &quot;web_accessible_resources&quot;: [     &quot;\/injected.js&quot;   ] }<\/code><\/pre>\n<p>  \u0412 \u0441\u0442\u0440\u043e\u0447\u043a\u0435 \u00abmatches\u00bb: [ \u00ab<a href=\"http:\/\/pernatsk.ru\/\">pernatsk.ru\/<\/a>*\u00bb ] \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u0432\u0430\u0448\u0435\u0439 \u0438\u0433\u0440\u044b. <br \/>  \u0424\u0430\u0439\u043b background.js \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0434\u043b\u044f \u0441\u043b\u0443\u0447\u0430\u0435\u0432, \u043a\u043e\u0433\u0434\u0430 \u0445\u043e\u0447\u0443 \u0438\u043d\u0434\u0436\u0435\u043a\u0442\u0438\u0442\u044c \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0441\u0432\u043e\u0439 JS \u043a\u043e\u0434\u0430. \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a\u043e\u0434 background.js:<\/p>\n<pre><code class=\"javascript\">$.get(chrome.extension.getURL('\/injected.js'),      function(data) {         var script = document.createElement(&quot;script&quot;);         script.setAttribute(&quot;type&quot;, &quot;text\/javascript&quot;);         script.innerHTML = data;         document.getElementsByTagName(&quot;head&quot;)[0].appendChild(script);         document.getElementsByTagName(&quot;body&quot;)[0].setAttribute(&quot;onLoad&quot;, &quot;ai_on();&quot;);     } );<\/code><\/pre>\n<p>  <b>\u0412\u0430\u0436\u043d\u043e!<\/b> \u0415\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442\u0435, \u0447\u0442\u043e \u043c\u044b \u0434\u0435\u043b\u0430\u0435\u043c \u0432 \u044d\u0442\u043e\u0439 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0431\u043e\u0442\u0430 \u0432\u0430\u043c \u043f\u043e\u043a\u0430 \u0440\u0430\u043d\u043e. \u041f\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 \u043e\u0441\u043d\u043e\u0432\u044b JavaScript.<br \/>  \u0412\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u0443 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u0432\u0435\u0441\u0442\u0438\u0441\u044c \u0432 \u0444\u0430\u0439\u043b\u0435 injected.js \u0415\u0433\u043e \u043a\u043e\u0434 \u043f\u043e\u043a\u0430 \u0442\u0430\u043a\u043e\u0439:  <\/p>\n<pre><code class=\"javascript\"> function ai_on(){         console.log(&quot;Hello world&quot;) }<\/code><\/pre>\n<p>  \u0412\u0441\u0435 \u044d\u0442\u0438 \u0444\u0430\u0439\u043b\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432 \u043e\u0434\u043d\u043e\u0439 \u043f\u0430\u043f\u043a\u0435 bot.  <\/p>\n<h4>3. \u041f\u0435\u0440\u0432\u044b\u0439 \u043f\u0443\u0441\u043a \u0431\u043e\u0442\u0430<\/h4>\n<p>  \u0417\u0430\u0445\u043e\u0434\u0438\u043c \u0432 Chomre \u0432 \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u2014 \u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u2014 \u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f, \u0436\u043c\u0435\u043c \u043d\u0430 \u00ab\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u00bb. \u0423 \u0432\u0430\u0441 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0441\u0442\u043e\u044f\u0442\u044c \u0433\u0430\u043b\u043e\u0447\u043a\u0430 \u043d\u0430 \u00ab\u0420\u0435\u0436\u0438\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u00bb. \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043f\u0430\u043f\u043a\u0443 \u0441 \u043d\u0430\u0448\u0438\u043c\u0438 \u0444\u0430\u0439\u043b\u0430\u043c\u0438.<br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u0437\u0430\u0439\u0434\u0435\u043c \u0432 \u043d\u0430\u0448\u0443 \u0438\u0433\u0440\u0443. \u0412\u043a\u043b\u044e\u0447\u0438\u043c \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 (\u043d\u0430\u043c \u044d\u0442\u043e \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0430\u0441\u0442\u043e) \u2014 \u0436\u043c\u0435\u043c F12 \u0438 \u0443\u0432\u0438\u0434\u0438\u043c \u00abHello Wolrd\u00bb. \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e.<br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0441\u0435, \u0447\u0442\u043e \u043c\u044b \u043f\u0440\u043e\u043f\u0438\u0448\u0435\u043c \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 ai_on \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b.  <\/p>\n<h4>4. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c AOP<\/h4>\n<p>  \u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0431\u043e\u0442\u0430 \u043d\u0430\u043c \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438. \u041c\u043e\u0439 \u043b\u044e\u0431\u0438\u043c\u044b\u0439 jQuery \u0443\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043d\u0430 \u041f\u0435\u0440\u043d\u0430\u0442\u0441\u043a\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0435\u0433\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442.<br \/>  \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043f\u043b\u0430\u0433\u0438\u043d <a href=\"https:\/\/code.google.com\/p\/jquery-aop\/\">AOP for Jquery<\/a>. \u041f\u043e \u0445\u043e\u0440\u043e\u0448\u0435\u043c\u0443 \u044d\u0442\u043e \u0441\u0442\u043e\u0438\u043b\u043e \u0437\u0430\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u0432 \u0441\u0430\u043c\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u0432 \u0432\u0438\u0434\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430, \u043d\u043e \u044f \u043b\u0435\u043d\u0438\u0432. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043a\u043e\u0434 bin\/aop.pack.js \u043f\u0435\u0440\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u043e\u0439 \u0432 \u043d\u0430\u0448 injected.js.<br \/>  \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c, \u0447\u0442\u043e \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0438\u0432 ai_on  <\/p>\n<pre><code class=\"javascript\"> function ai_on(){ \tbot = jQuery.aop.after( {target: window, method: '$'}, function(result){ \t\tconsole.log('jQuery detected!'); \t\tbot[0].unweave(); \t\treturn result; \t}); }<\/code><\/pre>\n<p>  \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0447\u0442\u043e AOP \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043b\u043e\u0441\u044c. \u0412 \u043a\u043e\u043d\u0441\u043e\u043b\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u0431\u0443\u0434\u0435\u0442 \u0441\u0442\u0440\u043e\u0447\u043a\u0430 \u00abjQuery detected!\u00bb \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0440\u0430\u0437, \u0442\u0430\u043a \u043a\u0430\u043a \u044f \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u044e \u0441\u043e\u0432\u0435\u0442 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0436\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u044f.<br \/>  <b>\u0412\u0430\u0436\u043d\u043e!<\/b> \u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e AOP for Jquery, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c jQuery.aop.after \u0438 bot[0].unweave().  <\/p>\n<h4>5. \u0417\u0430\u0447\u0435\u043c \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c AOP<\/h4>\n<p>  \u0421\u0443\u0442\u044c AOP \u043c\u043e\u0436\u043d\u043e \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0432\u044b\u0440\u0430\u0437\u0438\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c: &quot;<i><b>\u041f\u043e\u0441\u043b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438_1, \u043d\u0430\u0434\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044f_2. \u0427\u0442\u043e \u044d\u0442\u043e \u0437\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f_1 \u043d\u0430\u0441 \u043a\u0440\u0430\u0439\u043d\u0435 \u043c\u0430\u043b\u043e \u0432\u043e\u043b\u043d\u0443\u0435\u0442. \u041e\u043d\u0430 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430, \u0437\u043d\u0430\u0447\u0438\u0442 \u043d\u0430\u0434\u043e \u0434\u043e\u043b\u0436\u043d\u0430 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u044c \u043d\u0430\u0448\u0430. \u041b\u0435\u0437\u0442\u044c \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u044e_1 \u043c\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u043c.<\/b><\/i>&quot; \u0415\u0449\u0435 \u0440\u0430\u0437 \u043f\u043e\u0432\u0442\u043e\u0440\u044e\u0441\u044c \u044d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e. \u041b\u0443\u0447\u0448\u0435 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <a href=\"http:\/\/habrahabr.ru\/post\/199378\/\">\u0442\u0443\u0442<\/a><br \/>  \u041a\u0430\u043a \u044d\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c? \u041c\u044b \u043f\u043e\u0441\u043b\u0435 \u043b\u044e\u0431\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043d\u0430\u0448\u0443. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0432 \u0437\u043e\u043d\u0435 \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u043c\u043e\u043d\u0441\u0442\u0440. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u043d\u0430\u043f\u0430\u0441\u0442\u044c \u043d\u0430 \u043d\u0435\u0433\u043e, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u0443\u0436\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u0441\u0430\u043c\u0438.  <\/p>\n<h4>6. \u0423\u0447\u0438\u043c \u0431\u043e\u0442\u0430 \u043f\u0435\u0440\u0432\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435<\/h4>\n<p>  \u0412 injected.js \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0442\u0430\u043a\u043e\u0439 \u043a\u043e\u0434:  <\/p>\n<pre><code class=\"javascript\"> var commands = { \tconessearch:function(){ \t\tif( window.location.pathname != &quot;\/location\/conessearch&quot;) { \t\t\twindow.location.pathname = &quot;\/location\/conessearch&quot;; \t\t\treturn false; \t\t} \t\tvar buttons = $('form').eq(0).find('button'); \t\tfor (var index = 0; index &lt; buttons.length; ++index) { \t\t\tif(buttons.eq(index).css('display') == &quot;inline-block&quot;) { \t\t\t\tbuttons.eq(index).mouseenter(); \t\t\t\tbuttons.eq(index).click(); \t\t\t\treturn true; \t\t\t} \t\t} \t\treturn false;\t\t \t},\t } <\/code><\/pre>\n<p>  \u041f\u043e \u044d\u0442\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 \u043d\u0430\u0448\u0430 \u0431\u043e\u0442-\u043f\u0442\u0438\u0447\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \u043b\u0435\u0442\u0435\u0442\u044c \u0432 \u041f\u0435\u0440\u043d\u0430\u0442\u0441\u043a\u0435 \u0437\u0430 \u0448\u0438\u0448\u043a\u0430\u043c\u0438. \u041a\u043e\u0434 \u0441\u043b\u0435\u0433\u043a\u0430 \u043c\u0443\u0434\u0440\u0435\u043d\u043d\u044b\u0439, \u0442\u0430\u043a \u043a\u0430\u043a \u0432 \u041f\u0435\u0440\u043d\u0430\u0442\u0441\u043a\u0435 \u0435\u0441\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0437\u0430\u0449\u0438\u0442\u0430 \u043e\u0442 \u0431\u043e\u0442\u043e\u0432.<br \/>  \u041a\u043e\u0433\u0434\u0430 \u0432\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u0432 console, \u0430 \u0443\u0436\u0435 \u043f\u043e\u0442\u043e\u043c \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u0442\u044c \u043a\u043e\u0434 \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440.<br \/>  \u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0432 \u043a\u043e\u0441\u043d\u043e\u043b\u0435 \u043a\u043e\u0434 <code>commands.conessearch()<\/code> \u0412\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<h4>7. \u0418\u0449\u0435\u043c \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0431\u043e\u0442<\/h4>\n<p>  \u0422\u0443\u0442 \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u043c\u0435\u0442\u043e\u0434\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u2014 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u043a\u043e\u0434 \u0438\u0433\u0440\u044b. \u0414\u043e\u043b\u0433\u043e \ud83d\ude41<br \/>  \u0412\u0442\u043e\u0440\u043e\u0439 \u043c\u0435\u0442\u043e\u0434 \u2014 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f AOP, \u0438 \u043f\u043e\u0441\u043b\u0435 \u0432\u0441\u0435\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043b\u0438 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0432 \u043b\u043e\u0433 \u0438\u0445 \u0438\u043c\u044f. \u041f\u043e\u0442\u043e\u043c \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0435.<br \/>  \u041c\u0435\u043d\u044f\u0435\u043c ai_on()  <\/p>\n<pre><code class=\"javascript\"> function ai_on(){ \tbot = jQuery.aop.around( {target: window, method: ''}, function(invocation){ \t\tconsole.log(invocation.method); \t\treturn invocation.proceed(); \t}); }<\/code><\/pre>\n<p>  \u0423 \u043d\u0430\u0441 \u043f\u043e\u0439\u0434\u0435\u0442 \u043c\u043d\u043e\u0433\u043e-\u043c\u043d\u043e\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u044f. \u0422\u0430\u043c \u0431\u0443\u0434\u0435\u0442 $ \u043e\u0442 jQuery \u0438\u043b\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0430\u044f setTimeout.<br \/>  \u0420\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u044d\u0442\u0438\u043c \u043e\u0447\u0435\u043d\u044c \u043d\u0435 \u0443\u0434\u043e\u0431\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043c \u043a\u043e\u0434 \u0435\u0449\u0435 \u0440\u0430\u0437.  <\/p>\n<pre><code class=\"javascript\"> function ai_on(){ \tfnList = []; \tbot = jQuery.aop.around( {target: window, method: ''}, function(invocation){ \t\tvar fnName = invocation.method.toString(); \t\tif(fnList.indexOf(fnName) == -1) { \t\t\tconsole.log(fnName); \t\t\tfnList.push(fnName);\t\t\t \t\t} \t}); }<\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0443 \u043d\u0430\u0441 \u043e\u0442\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0435\u0449\u0435 \u043d\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u043b\u0438\u0441\u044c. \u0418\u0445 \u043f\u043e\u043b\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043c\u044b \u0445\u0440\u0430\u043d\u0438\u043c \u0432 fnList.<br \/>  \u041f\u043e\u0441\u043b\u0435 \u043f\u0430\u0440\u044b \u043c\u0438\u043d\u0443\u0442 \u0442\u0430\u043c \u0431\u0443\u0434\u0443\u0442 \u0442\u0430\u043a\u0438\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u043f\u0440\u0438\u0446\u0435\u043f\u043a\u0438 <code>[&quot;clearInterval&quot;, &quot;$&quot;, &quot;setTimeout&quot;, &quot;timerTick&quot;, &quot;serverTimeUpdate&quot;, &quot;getComputedStyle&quot;, &quot;setInterval&quot;, &quot;tutorialArr&quot;, &quot;showQ&quot;, &quot;showQc&quot;, &quot;updateBirdData&quot;, &quot;viz&quot;, &quot;unviz&quot;, &quot;weatherUpdate&quot;]<\/code><br \/>  \u041c\u0435\u043d\u044f\u044f target \u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 method \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u0434\u043e\u0431\u0440\u0430\u0442\u044c \u0442\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0430\u043c \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442, \u0447\u0442\u043e\u0431\u044b \u043a \u043d\u0435\u0439 \u043f\u0440\u0438\u0446\u0435\u043f\u0438\u0442\u044c\u0441\u044f. \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430, \u044f \u0432\u044b\u0431\u0438\u0440\u0430\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e weatherUpdate \u0442\u0435\u043f\u0435\u0440\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043a\u0430\u043a \u0431\u0443\u0434\u0435\u0442 \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u043f\u043e\u0433\u043e\u0434\u0430 \u043d\u0430\u0448\u0430 \u043f\u0442\u0438\u0447\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \u043b\u0435\u0442\u0435\u0442\u044c \u0437\u0430 \u0448\u0438\u0448\u043a\u0430\u043c\u0438.  <\/p>\n<h4>7. \u0423\u0447\u0438\u043c \u0431\u043e\u0442\u0430 \u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f<\/h4>\n<p>  \u041c\u044b \u0441\u043d\u043e\u0432\u0430 \u043c\u0435\u043d\u044f\u0435\u043c \u043a\u043e\u0434 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 ai_on()  <\/p>\n<pre><code class=\"javascript\"> function ai_on(){ \tbot = jQuery.aop.after( {target: window, method: 'weatherUpdate'}, commands.conessearch()); } function ai_off(){ \tbot[0].unweave(); } <\/code><\/pre>\n<p>  \u0424\u0443\u043d\u043a\u0446\u0438\u044f\u044e ai_off \u043d\u0443\u0436\u043d\u0430, \u0447\u0442\u043e\u0431\u044b \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0431\u043e\u0442\u0430.  <\/p>\n<h4>8. \u041d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0433\u043e \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f<\/h4>\n<p>  \u041d\u0430\u0434\u0435\u044e\u0441\u044c \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u0431\u044b\u043b \u0434\u043b\u044f \u0432\u0430\u0441 \u043f\u043e\u043b\u0435\u0437\u0435\u043d. \u0427\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0449\u0435?  <\/p>\n<ul>\n<li>\u0421\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0431\u043e\u0442\u0430 \u043f\u043e \u043a\u043d\u043e\u043f\u043a\u0435. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0439 ai_on, ai_off<\/li>\n<li>\u0421\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0433\u043e \u0431\u043e\u0442\u0430<\/li>\n<li>\u0421\u0434\u0435\u043b\u0430\u0442\u044c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u043c \u0432 \u043b\u044e\u0431\u043e\u043c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"http:\/\/kangoextensions.com\/\">Kango<\/a><\/li>\n<li>\u0418 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435<\/li>\n<\/ul>\n<p>  \u041a\u043e\u0434 \u043d\u0438\u0447\u0435\u0433\u043e \u0442\u043e\u043b\u043a\u043e\u043c \u043d\u0435 \u0434\u0435\u043b\u0430\u0435\u0442, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0433\u043e \u043d\u0435 \u0432\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e.      \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/228607\/\"> http:\/\/habrahabr.ru\/post\/228607\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">     \t<img decoding=\"async\" align=\"left\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/e44\/95f\/a01\/e4495fa011891f5614f7911ba1f7b14a.jpg\"\/><br \/>  \u0415\u0441\u043b\u0438 \u0432\u044b \u043a\u0430\u043a \u0438 \u044f \u043b\u044e\u0431\u0438\u0442\u0435 \u043e\u043d\u043b\u0430\u0439\u043d \u0438\u0433\u0440\u044b, \u043d\u043e \u043d\u0435 \u043b\u044e\u0431\u0438\u0442\u0435 \u0442\u0440\u0430\u0442\u0438\u0442\u044c \u043d\u0430 \u043d\u0438\u0445 \u0441\u0438\u043b\u044c\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u0442. \u041c\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u043e\u0431\u0441\u0443\u0436\u0434\u0430\u0442\u044c \u0431\u043e\u0442\u044b \u044d\u0442\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u0438\u043b\u0438 \u043d\u0435\u0442, \u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u043e\u043d\u043b\u0430\u0439\u043d \u0438\u0433\u0440\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0431\u043e\u0442\u0430. \u041e\u043d \u0431\u0443\u0434\u0435\u0442 \u043d\u0435 \u0442\u0443\u043f\u043e \u043a\u043b\u0430\u0446\u0430\u0442\u044c \u043f\u043e \u043a\u043d\u043e\u043f\u043a\u0435 \u043f\u043e \u0442\u0430\u0439\u043c\u0430\u0443\u0442\u0443, \u0430 \u0431\u0443\u0434\u0435\u0442 \u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435. \u042d\u0442\u043e \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0410\u0441\u043f\u0435\u043a\u0442\u043d\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f (\u0434\u0430\u043b\u0435\u0435 AOP). \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u044f \u0432\u044b\u0431\u0440\u0430\u043b \u043f\u043e\u043b\u044e\u0431\u0438\u0432\u0448\u0443\u044e\u0441\u044f \u0445\u0430\u0431\u0440\u043e\u043c \u0438\u0433\u0440\u0443 \u041f\u0435\u0440\u043d\u0430\u0442\u0441\u043a.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-228607","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/228607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=228607"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/228607\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=228607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=228607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=228607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}