{"id":253434,"date":"2015-03-20T00:13:02","date_gmt":"2015-03-19T20:13:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=253434"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=253434","title":{"rendered":"\u041f\u0438\u0448\u0435\u043c \u043a\u043b\u0438\u0435\u043d\u0442 \u0434\u043b\u044f Slack \u0441 \u043e\u043f\u043e\u0432\u0435\u0449\u0435\u043d\u0438\u044f\u043c\u0438"},"content":{"rendered":"<p>     \t\u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e, \u0425\u0430\u0431\u0440\u0430\u0432\u0447\u0430\u043d\u0435! \u0421\u0435\u0433\u043e\u0434\u043d\u044f Slack \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b\u0438 \u0441\u0432\u043e\u0439 \u043a\u043b\u0438\u0435\u043d\u0442 \u0434\u043b\u044f Windows. \u041d\u043e \u0435\u0449\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0442\u0430\u043a\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043d\u0435 \u0431\u044b\u043b\u043e \u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0435 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0431\u044b\u043b\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c\u044e. Slack \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 Chrome. \u0423 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0430 \u0431\u044b\u043b\u043e \u0434\u0432\u0430 \u043c\u0438\u043d\u0443\u0441\u0430:  <\/p>\n<ol>\n<li>\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435<\/li>\n<li>\u0415\u0441\u043b\u0438 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u043f\u0430\u043b\u043e, \u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0438\u043a\u0430\u043a \u043e\u0431 \u044d\u0442\u043e\u043c \u043d\u0435 \u0443\u0437\u043d\u0430\u0435\u0442.<\/li>\n<\/ol>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/012\/50e\/da2\/01250eda245f46b6a1294b2392447259.jpg\"\/><\/p>\n<p>  \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0442\u044b \u0443\u0448\u0435\u043b \u043d\u0430\u043b\u0438\u0442\u044c \u0441\u0435\u0431\u0435 \u043a\u043e\u0444\u0435, \u0430 \u0442\u0443\u0442 \u043a\u0442\u043e-\u0442\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0432 \u0447\u0430\u0442. \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0448\u044c\u0441\u044f \u043d\u0430 \u0440\u0430\u0431\u043e\u0447\u0435\u0435 \u043c\u0435\u0441\u0442\u043e \u0438\u2026 \u0442\u0438\u0448\u0438\u043d\u0430! \u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u043b\u043e. \u0422\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0448\u044c \u0434\u0430\u043b\u044c\u0448\u0435, \u0430 \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u0432\u0441\u0451 \u0436\u0434\u0435\u0442 \u0438 \u0436\u0434\u0451\u0442, \u043f\u043e\u043a\u0430 \u043a\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0435\u043c\u0443 \u043e\u0442\u0432\u0435\u0442\u0438\u0442. \u041d\u0435\u043f\u043e\u0440\u044f\u0434\u043e\u043a! Skype \u0432\u0435\u0436\u043b\u0438\u0432\u043e \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u044f\u0435\u0442 \u0442\u0435\u0431\u044f \u0432\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0438\u043c \u043e\u043a\u043e\u0448\u043a\u043e\u043c \u0438 \u043d\u0430\u0433\u043b\u043e \u0441\u0438\u0433\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u0432 \u0442\u0430\u0441\u043a\u0431\u0430\u0440\u0435 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0442\u0435\u0431\u0435 \u043f\u0440\u0438\u0448\u043b\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435. \u0411\u044b\u0441\u0442\u0440\u0435\u0435 \u043f\u0440\u043e\u0447\u0442\u0438, \u0430 \u0442\u043e \u0442\u0432\u043e\u0439 \u0442\u0430\u0441\u043a\u0431\u0430\u0440 \u0442\u0430\u043a \u0438 \u0431\u0443\u0434\u0435\u043c \u043c\u0438\u0433\u0430\u0442\u044c \u0436\u0435\u043b\u0442\u044b\u043c \u0441\u0432\u0435\u0442\u043e\u043c. \u0414\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0442\u044b \u0443\u0448\u0435\u043b \u043d\u0430 \u0432\u0435\u0441\u044c \u0434\u0435\u043d\u044c.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041e\u0442\u043c\u043e\u0442\u0430\u0435\u043c \u0432\u0440\u0435\u043c\u044f \u043d\u0430 1 \u043c\u0435\u0441\u044f\u0446 \u043d\u0430\u0437\u0430\u0434. \u0418\u0434\u0435\u043c \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 <a href=\"http:\/\/myawesometeam.slack.com\/apps\">myawesometeam.slack.com\/apps<\/a> \u0438 \u0432\u0438\u0434\u0438\u043c \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0434\u043b\u044f Windows \u0438 Linux, \u0432\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u0442\u0430\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f Chrome. \u0420\u0430\u0441\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u0441\u044f. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u043c \u0432\u0441\u044e \u043f\u0435\u0447\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0431\u044b\u0442\u0438\u044f.<\/p>\n<p>  \u042f \u043d\u0430\u0447\u0430\u043b \u0438\u0441\u043a\u0430\u0442\u044c \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u041f\u0435\u0440\u0432\u044b\u043c \u043d\u0430\u0448\u0435\u043b\u0441\u044f <a href=\"https:\/\/github.com\/rfgamaral\/SlackUI\">SlackUI<\/a>. \u041e\u043d \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d \u043d\u0430 \u0431\u0430\u0437\u0435 CEF (Chromium Embedded Framework). \u042f \u0443\u0436\u0435 \u0431\u044b\u043b\u043e \u043f\u043e\u0447\u0442\u0438 \u043e\u0431\u0440\u0430\u0434\u043e\u0432\u0430\u043b\u0441\u044f, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b \u043a\u043b\u0438\u0435\u043d\u0442 \u0438 \u0443\u0432\u0438\u0434\u0435\u043b \u0432\u0441\u0451 \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435, \u0447\u0442\u043e \u0438 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 Chrome. \u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u043f\u0430\u0434\u0430\u044e\u0442 \u0447\u0435\u0440\u0435\u0437 10 \u0441\u0435\u043a\u0443\u043d\u0434, \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0447\u0442\u043e-\u0442\u043e \u0431\u044b\u043b\u043e, \u043f\u043e\u043a\u0430 \u0442\u044b \u0445\u043e\u0434\u0438\u043b \u0437\u0430 \u043a\u043e\u0444\u0435.<\/p>\n<p>  \u0427\u0442\u043e \u0436, \u044f \u043d\u0430\u0447\u0430\u043b \u0433\u0443\u0433\u043b\u0438\u0442\u044c \u0438 \u043d\u0430\u0442\u043a\u043d\u0443\u043b\u0441\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0432 Qt WebKit \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043f\u043b\u0430\u0433\u0438\u043d, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u0434\u043b\u044f \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439. \u041d\u0430\u0448\u0435\u043b\u0441\u044f \u043f\u0440\u043e\u0435\u043a\u0442 QupZilla \u0438 \u0435\u0433\u043e \u043f\u043b\u0430\u0433\u0438\u043d\u044b \u0434\u043b\u044f Qt WebKit (<a href=\"https:\/\/github.com\/QupZilla\/qtwebkit-plugins\">https:\/\/github.com\/QupZilla\/qtwebkit-plugins<\/a>). \u042d\u0442\u043e \u0431\u044b\u043b\u043e \u0442\u043e, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e!<\/p>\n<h2>\u042d\u0442\u0430\u043f 1. \u0414\u0435\u043b\u0430\u0435\u043c \u043f\u043b\u0430\u0433\u0438\u043d \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439 \u0434\u043b\u044f Qt WebKit<\/h2>\n<p>  \u0412 \u0444\u0430\u0439\u043b\u0435 .pri \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0434\u043b\u044f \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u0438 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b Qt, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u043c\u043e\u0433 \u043f\u043e\u0434\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u043d\u0430\u0448 \u043f\u043b\u0430\u0433\u0438\u043d:  <\/p>\n<pre><code>HEADERS += $$PWD\/qtwebkitplugin.h \\                $$[QT_INSTALL_HEADERS]\/QtWebKit\/qwebkitplatformplugin.h  SOURCES += $$PWD\/qtwebkitplugin.cpp  DEFINES *= QT_STATICPLUGIN <\/code><\/pre>\n<p>  \u041a\u043e\u0434 \u0441\u0430\u043c\u043e\u0433\u043e \u043f\u043b\u0430\u0433\u0438\u043d\u0430:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">qtwebkitplugin.h<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>#include &quot;qwebkitplatformplugin.h&quot;  class QtWebKitPlugin : public QObject, public QWebKitPlatformPlugin {     Q_OBJECT     Q_INTERFACES(QWebKitPlatformPlugin)  #if QT_VERSION &gt;= 0x050000     Q_PLUGIN_METADATA(IID &quot;org.qtwebkit.QtWebKit.QtWebKitPlugins&quot;) #endif  public:     explicit QtWebKitPlugin();      bool supportsExtension(Extension ext) const;     QObject* createExtension(Extension ext) const; }; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">qtwebkitplugin.cpp<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>bool QtWebKitPlugin::supportsExtension(Extension ext) const {     return (ext == Notifications); }  QObject* QtWebKitPlugin::createExtension(Extension ext) const {     switch (ext) {     case Notifications:         return new NotificationPresenter();      default:         return 0;     } }  #if QT_VERSION &lt; 0x050000 Q_EXPORT_PLUGIN2(qtwebkitplugins, QtWebKitPlugin) #endif  #if (QT_VERSION &lt; 0x050000) Q_IMPORT_PLUGIN(qtwebkitplugins) #else Q_IMPORT_PLUGIN(QtWebKitPlugin) #endif <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041f\u043e\u043a\u0430 \u0447\u0442\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0433\u043e \u043d\u0435\u0442. NotificationPresenter \u2014 \u044d\u0442\u043e \u043d\u0435\u043a\u0438\u0439 \u043a\u043b\u0430\u0441\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u043d\u0430\u0448\u0438 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f, \u043f\u0443\u0441\u0442\u044c \u0434\u0430\u0436\u0435 \u0438 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u043e\u0442\u043b\u0430\u0434\u043a\u0438:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">notificationpresenter.h<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>#include &quot;qwebkitplatformplugin.h&quot;  class NotificationPresenter : public QWebNotificationPresenter {  public:     explicit NotificationPresenter();      void showNotification(const QWebNotificationData* data); }; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">notificationpresenter.cpp<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>NotificationPresenter::NotificationPresenter()     : QWebNotificationPresenter() { }  void NotificationPresenter::showNotification(const QWebNotificationData* data) {     qDebug() &lt;&lt; &quot;--------------------------&quot;;     qDebug() &lt;&lt; &quot;Title:&quot;;     qDebug() &lt;&lt; data-&gt;title();     qDebug() &lt;&lt; &quot;Message:&quot;;     qDebug() &lt;&lt; data-&gt;message();     qDebug() &lt;&lt; &quot;--------------------------&quot;; }  <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<h2>\u042d\u0442\u0430\u043f 2. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c QWebView<\/h2>\n<p>  \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c .pri \u0444\u0430\u0439\u043b \u043a \u043d\u0430\u0448\u0435\u043c\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u0443 \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 .pro \u0444\u0430\u0439\u043b \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c \u043e\u0442 webkitwidgets:  <\/p>\n<pre><code>... QT += webkitwidgets include(plugins\/qtwebkit\/qtwebkit-plugins.pri) ... <\/code><\/pre>\n<p>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430 \u043a\u0430\u043a\u0443\u044e-\u043d\u0438\u0431\u0443\u0434\u044c \u0444\u043e\u0440\u043c\u0443 QWebView, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0435\u0433\u043e \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 featurePermissionRequested:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0415\u0449\u0435 \u043a\u043e\u0434?<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>void MainWindow::createWebView() {     webview-&gt;settings()-&gt;setAttribute(QWebSettings::JavascriptEnabled, true);     webview-&gt;settings()-&gt;setAttribute(QWebSettings::NotificationsEnabled, true);     connect(webView-&gt;page(), SIGNAL(featurePermissionRequested(QWebFrame*,QWebPage::Feature)),             this, SLOT(featureRequest(QWebFrame*,QWebPage::Feature))); }  void MainWindow::featureRequest(QWebFrame *frame, QWebPage::Feature feature) {     qDebug() &lt;&lt; frame-&gt;url();      if (feature == QWebPage::Feature::Notifications)     {         int result = QMessageBox::question(this,                               QString(&quot;Notification permission&quot;),                               QString(&quot;%1\\nasks for notifications persmission. Should I allow?&quot;).arg(frame-&gt;url().toString()),                               QMessageBox::StandardButton::Ok, QMessageBox::Cancel);          if (result == QMessageBox::StandardButton::Ok)         {             webView-&gt;page()-&gt;setFeaturePermission(frame, feature,                                                   QWebPage::PermissionPolicy::PermissionGrantedByUser);         }     } } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0417\u0430\u0434\u0430\u0435\u043c \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 url \u0441 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435\u043c (<a href=\"http:\/\/jsfiddle.net\/Snegovikufa\/523o169c\/\">\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432\u043e\u0442 \u044d\u0442\u043e\u0442<\/a>) \u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u043c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443. \u0414\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435.<\/p>\n<h2>\u042d\u0442\u0430\u043f 3. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u0443\u043a\u0438 \u0438 \u043a\u044d\u0448 \u043d\u0430 \u0434\u0438\u0441\u043a. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0440\u043e\u0434\u043d\u044b\u0435 \u0448\u0440\u0438\u0444\u0442\u044b <\/h2>\n<p>  \u0412 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0431\u0435\u0441\u044f\u0442 \u043a\u0440\u0438\u0432\u044b\u0435 \u0448\u0440\u0438\u0444\u0442\u044b. \u041f\u043e\u043f\u0440\u0430\u0432\u0438\u043c \u0438\u0445 \u0441\u0440\u0430\u0437\u0443  <\/p>\n<pre><code>webView-&gt;settings()-&gt;setFontFamily(QWebSettings::StandardFont, &quot;Segoe UI&quot;); webView-&gt;settings()-&gt;setFontSize(QWebSettings::DefaultFontSize, 16); <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u043c\u044b \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0442\u043e \u043d\u0430\u043c \u0441\u043d\u043e\u0432\u0430 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f, \u0437\u0430\u043d\u043e\u0432\u043e \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u0438 \u0438 \u0442.\u043f. \u0417\u043d\u0430\u0447\u0438\u0442, \u043d\u0430\u0441\u0442\u0443\u043f\u0438\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u043a\u0443\u043a\u0438 \u0438 \u043a\u044d\u0448 \u043d\u0430 \u0434\u0438\u0441\u043a\u0435.<br \/>  \u0421 \u043a\u044d\u0448\u0435\u043c \u0447\u0443\u0442\u044c \u043f\u0440\u043e\u0449\u0435:  <\/p>\n<pre><code>void MainWindow::setStoragePath() {     QString path(QStandardPaths::writableLocation(QStandardPaths::CacheLocation));     qDebug() &lt;&lt; &quot;Cache path&quot; &lt;&lt; path;      storagePath = path;     webView-&gt;page()-&gt;settings()-&gt;enablePersistentStorage(path); } <\/code><\/pre>\n<p>  \u0421 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435\u043c \u043a\u0443\u043a\u0438 \u043f\u043e\u0441\u043b\u043e\u0436\u043d\u0435\u0435. \u042f \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u0448\u0435\u043b \u0433\u043e\u0442\u043e\u0432\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0438\u0437 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 Qt. \u041c\u043e\u0436\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u043d\u0430\u0439\u0442\u0438 \u0432 \u0433\u0443\u0433\u043b\u0435 \u043f\u043e \u0441\u043b\u043e\u0432\u0430\u043c QWebView \u0438 CookieJar. \u041f\u0440\u0438\u043c\u0435\u0440 CookieJar \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0430\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430  <\/p>\n<pre><code>void MainWindow::setCookies() {     if (!cookieJar)     {         cookieJar = new CookieJar(this);     }      webView-&gt;page()-&gt;networkAccessManager()-&gt;setCookieJar(cookieJar); } <\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043a\u0443\u043a\u0438 \u0438 \u043a\u044d\u0448 \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c\u0441\u044f \u0438 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u043b\u043e\u0433\u0438\u043d\u044b \u0438 \u043f\u0430\u0440\u043e\u043b\u0438.<\/p>\n<h2>\u042d\u0442\u0430\u043f 4. \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438<\/h2>\n<p>  \u0414\u043b\u044f \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439 \u044f \u0440\u0435\u0448\u0438\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/github.com\/Aseman-Land\/aseman-qt-tools.git\">Aseman Qt Tools<\/a>.<br \/>  \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0432 .pro \u0444\u0430\u0439\u043b  <\/p>\n<pre><code>include(asemantools\/asemantools.pri) <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0432 NotificationPresenter \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0442\u0430\u0449\u0438\u0442\u044c \u043d\u0435\u043a\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439. <br \/>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 qtwebkit.pri  <\/p>\n<pre><code>INCLUDEPATH += $$top_srcdir HEADERS += $$top_srcdir\/mainapplication.h <\/code><\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c MainApplication \u2014 \u043d\u0430\u0441\u043b\u0435\u0434\u043d\u0438\u043a \u043e\u0442 QApplication. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">notificationpresenter.cpp<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>void NotificationPresenter::showNotification(const QWebNotificationData* data) {     mApp-&gt;showNotification(data-&gt;title(), data-&gt;message()); }  <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">mainapplication.h<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>#include &lt;QApplication&gt; #include &quot;mainwindow.h&quot;  #define mApp ((MainApplication*)MainApplication::instance())  class MainApplication : public QApplication {     Q_OBJECT  public:     explicit MainApplication(int &argc, char** argv);      void setMainWindow(MainWindow* window);     MainWindow* getMainWindow();      void showNotification(QString title, QString message);      ~MainApplication(); private:     MainWindow *m_window = 0; }; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">mainapplication.cpp<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>MainWindow *MainApplication::getMainWindow() {     if (!m_window){         m_window = new MainWindow();     }      return m_window; }  void MainApplication::showNotification(QString title, QString message) {     getMainWindow()-&gt;showNotification(title, message); } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c <i>AsemanNotification <\/i>\u0432 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u043e\u043a\u043d\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438 \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0442\u0430\u0441\u043a\u0431\u0430\u0440 \u043c\u0438\u0433\u0430\u0442\u044c \u0436\u0435\u043b\u0442\u044b\u043c \u0441\u0432\u0435\u0442\u043e\u043c:  <\/p>\n<pre><code>MainWindow::MainWindow() {     \/\/ ...     notification = new AsemanNativeNotification(this);     \/\/ ... }  void MainWindow::showNotification(QString title, QString message) {     notification-&gt;sendNotify(title, message, &quot;:\/\/images\/png\/Slack.png&quot;, 0, 100000); \/\/ \u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435     QApplication::alert(this); \/\/ \u041c\u0438\u0433\u0430\u0435\u043c \u0442\u0430\u0441\u043a\u0431\u0430\u0440\u043e\u043c } <\/code><\/pre>\n<p>  \u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0442\u0435\u0441\u0442\u043e\u0432\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443. \u0414\u043e\u043b\u0436\u043d\u044b \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0435 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f.<\/p>\n<h2>\u042d\u0442\u0430\u043f 5. \u041f\u0440\u043e\u0431\u0443\u0435\u043c \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u043e\u0434 \u043b\u0438\u043d\u0443\u043a\u0441<\/h2>\n<p>  \u0418 \u0442\u0443\u0442 \u043c\u044b \u043f\u0440\u0438\u0435\u0445\u0430\u043b\u0438. \u0412 Linux \u0440\u0430\u0437\u043d\u044b\u0435 DE \u0438 \u0432\u0441\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432\u0432\u0435\u0440\u0445 \u0442\u043e\u0440\u043c\u0430\u0448\u043a\u0430\u043c\u0438.<br \/>  \u0412 Unity \u0438\u043a\u043e\u043d\u043a\u0430 \u0442\u0440\u0435\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u043b\u0435\u0432\u043e\u043c \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u0443\u0433\u043b\u0443 \u044d\u043a\u0440\u0430\u043d\u0430. \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u044d\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<br \/>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/229\/9f7\/f81\/2299f7f8156a4505aaba1199ae2e62bf.png\"\/><br \/>  \u0412 Gnome 3 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0438\u0437 AsemanTools \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0443\u043f\u043e\u043b\u0437\u0430\u043b\u0438 \u043a\u0443\u0434\u0430-\u0442\u043e \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u044b \u044d\u043a\u0440\u0430\u043d\u0430. \u0412\u043d\u044f\u0442\u043d\u044b\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u044f \u043d\u0430 \u043d\u0430\u0448\u0435\u043b \u0438 \u0441\u043d\u043e\u0432\u0430 \u0437\u0430 \u043b\u0438\u043d\u0443\u043a\u0441 \u0441\u0442\u0430\u043b\u043e \u0433\u0440\u0443\u0441\u0442\u043d\u043e \u0438 \u043e\u0431\u0438\u0434\u043d\u043e. \u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438, \u043d\u0443\u0436\u043d\u043e \u0432\u0435\u0447\u043d\u044b\u0435 \u043f\u043b\u044f\u0441\u043a\u0438 \u0441 \u0431\u0443\u0431\u043d\u043e\u043c<\/p>\n<h2>\u0418\u0442\u043e\u0433\u0438<\/h2>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d \u043e\u043f\u044b\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 WebKit, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432 \u0434\u043b\u044f Qt.<br \/>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0440\u0430\u0431\u043e\u0442\u044b:<br \/>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/3c2\/015\/3a4\/3c20153a47dc4637a8fa8eed41f602dd.jpg\"\/><\/p>\n<p>  \u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u0432\u0448\u0438\u0439\u0441\u044f \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430 <a href=\"https:\/\/github.com\/MiT-Ufa\/Slacker\">Github<\/a><\/p>\n<p>  \u041d\u0430\u0441\u0442\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a\u043e\u0434 \u0432 \u043f\u043e\u0440\u044f\u0434\u043e\u043a, \u0437\u0430\u0432\u0430\u0440\u0438\u0442\u044c \u043a\u043e\u0444\u0435 \u0438 \u0432\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043a \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0443, \u0433\u0434\u0435 \u0440\u0430\u0434\u043e\u0441\u0442\u043d\u043e \u043c\u0438\u0433\u0430\u0435\u0442 \u0436\u0435\u043b\u0442\u044b\u0439 \u0437\u043d\u0430\u0447\u043e\u043a Slack \u0432 \u0442\u0430\u0441\u043a\u0431\u0430\u0440\u0435. \u0417\u0430\u043f\u0443\u0448\u0438\u0442\u044c \u0432\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0438 \u0436\u0434\u0430\u0442\u044c, \u043a\u043e\u0433\u0434\u0430 \u0440\u0430\u0434\u0443\u0436\u043d\u044b\u0439 \u0435\u0434\u0438\u043d\u043e\u0440\u043e\u0433 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442 \u0442\u0432\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442, \u0447\u0442\u043e\u0431\u044b \u0442\u043a\u043d\u0443\u0442\u044c \u0442\u0435\u0431\u044f \u0433\u043e\u043b\u043e\u0432\u043e\u0439 \u0432\u2026      \t<\/p>\n<div class=\"clear\"><\/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\/253579\/\"> http:\/\/habrahabr.ru\/post\/253579\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>     \t\u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e, \u0425\u0430\u0431\u0440\u0430\u0432\u0447\u0430\u043d\u0435! \u0421\u0435\u0433\u043e\u0434\u043d\u044f Slack \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b\u0438 \u0441\u0432\u043e\u0439 \u043a\u043b\u0438\u0435\u043d\u0442 \u0434\u043b\u044f Windows. \u041d\u043e \u0435\u0449\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0442\u0430\u043a\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043d\u0435 \u0431\u044b\u043b\u043e \u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0435 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0431\u044b\u043b\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c\u044e. Slack \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 Chrome. \u0423 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0430 \u0431\u044b\u043b\u043e \u0434\u0432\u0430 \u043c\u0438\u043d\u0443\u0441\u0430:  <\/p>\n<ol>\n<li>\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435<\/li>\n<li>\u0415\u0441\u043b\u0438 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u043f\u0430\u043b\u043e, \u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0438\u043a\u0430\u043a \u043e\u0431 \u044d\u0442\u043e\u043c \u043d\u0435 \u0443\u0437\u043d\u0430\u0435\u0442.<\/li>\n<\/ol>\n<p>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/012\/50e\/da2\/01250eda245f46b6a1294b2392447259.jpg\"\/><\/p>\n<p>  \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0442\u044b \u0443\u0448\u0435\u043b \u043d\u0430\u043b\u0438\u0442\u044c \u0441\u0435\u0431\u0435 \u043a\u043e\u0444\u0435, \u0430 \u0442\u0443\u0442 \u043a\u0442\u043e-\u0442\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0432 \u0447\u0430\u0442. \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0448\u044c\u0441\u044f \u043d\u0430 \u0440\u0430\u0431\u043e\u0447\u0435\u0435 \u043c\u0435\u0441\u0442\u043e \u0438\u2026 \u0442\u0438\u0448\u0438\u043d\u0430! \u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u043b\u043e. \u0422\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0448\u044c \u0434\u0430\u043b\u044c\u0448\u0435, \u0430 \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u0432\u0441\u0451 \u0436\u0434\u0435\u0442 \u0438 \u0436\u0434\u0451\u0442, \u043f\u043e\u043a\u0430 \u043a\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0435\u043c\u0443 \u043e\u0442\u0432\u0435\u0442\u0438\u0442. \u041d\u0435\u043f\u043e\u0440\u044f\u0434\u043e\u043a! Skype \u0432\u0435\u0436\u043b\u0438\u0432\u043e \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u044f\u0435\u0442 \u0442\u0435\u0431\u044f \u0432\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0438\u043c \u043e\u043a\u043e\u0448\u043a\u043e\u043c \u0438 \u043d\u0430\u0433\u043b\u043e \u0441\u0438\u0433\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u0432 \u0442\u0430\u0441\u043a\u0431\u0430\u0440\u0435 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0442\u0435\u0431\u0435 \u043f\u0440\u0438\u0448\u043b\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435. \u0411\u044b\u0441\u0442\u0440\u0435\u0435 \u043f\u0440\u043e\u0447\u0442\u0438, \u0430 \u0442\u043e \u0442\u0432\u043e\u0439 \u0442\u0430\u0441\u043a\u0431\u0430\u0440 \u0442\u0430\u043a \u0438 \u0431\u0443\u0434\u0435\u043c \u043c\u0438\u0433\u0430\u0442\u044c \u0436\u0435\u043b\u0442\u044b\u043c \u0441\u0432\u0435\u0442\u043e\u043c. \u0414\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0442\u044b \u0443\u0448\u0435\u043b \u043d\u0430 \u0432\u0435\u0441\u044c \u0434\u0435\u043d\u044c.  <\/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-253434","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/253434","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=253434"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/253434\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=253434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=253434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=253434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}