{"id":2489,"date":"2021-03-16T14:25:38","date_gmt":"2021-03-16T06:25:38","guid":{"rendered":"http:\/\/ufqi.com\/blog\/?p=2489"},"modified":"2021-03-17T11:52:13","modified_gmt":"2021-03-17T03:52:13","slug":"hanjst-updt-with-safari-tel","status":"publish","type":"post","link":"https:\/\/ufqi.com\/blog\/hanjst-updt-with-safari-tel\/","title":{"rendered":"Hanjst\u6c49\u5409\u65af\u7279\ud83d\ude4b\u4f18\u5316\u5347\u7ea7\u5f00\u53d1\u8005\u6a21\u5f0f"},"content":{"rendered":"<p>\u4eca\u65e5\u4e4b\u5317\u4eac\uff082021Mar16\uff09\u4e0e\u6628\u65e5\u4e4b\u5317\u4eac\uff0c\u662f\u5730\u72f1\uff08\u72c2\u98ce\u5927\u4f5c\u6c99\u5c18\u66b4\u767d\u663c\u5982\u591c\uff09\u4e0e\u5929\u5802\uff08\u548c\u98ce\u6696\u9633\u6625\u5149\u5927\u597d\uff09\u3002\u6168\u53f9\u5927\u81ea\u7136\u4e4b\u795e\u529b\uff0c\u559f\u7136\u5168\u4eba\u7c7b\u4ecd\u6e3a\u5c0f\u3002<\/p>\n<p>Hanjst\u6c49\u5409\u65af\u7279\ud83d\ude4b\u8ddd\u79bb\u4e0a\u6b21\u66f4\u65b0\u5dee\u4e0d\u591a\u6709\u4e00\u5e74\u5de6\u53f3\uff0c\u671f\u95f4\u9646\u7eed\u90e8\u7f72\u548c\u4f7f\u7528\uff0c\u5747\u5de5\u4f5c\u826f\u597d\u3002\u8fd1\u65e5\u5728\u4e00\u4e2a\u8001\u9879\u76ee\uff08<a href=\"http:\/\/ufqi.com\/work\/\">\u6709\u798f\u5de5\u574aUfqiWork<\/a>\u00a0\uff1ahttps:\/\/ufqi.com\/work \uff09\u7684\u65b0\u6a21\u5757\u4e2d\u6d4b\u8bd5\u65f6\uff0c\u53d1\u73b0\u4e00\u4e2a\u5c0f\u95ee\u9898\uff0c\u95ee\u9898\u867d\u5c0f\uff0c\u5176\u6392\u89e3\u590d\u6742\u8fc7\u7a0b\u548c\u80cc\u540e\u9690\u85cf\u7684\u95ee\u9898\u5374\u662f\u503c\u5f97\u4e66\u8bb0\u4e8e\u6b64\u3002<\/p>\n<p>\u6545\u969c\u8868\u5f81\u4e3a\u5728 \u6709\u798f\u5de5\u574aUfqiWork \u4e2d\u5f53\u7528\u6237\u8fdb\u884c\u5730\u5740\u5207\u6362\u65f6\uff0c\u6709\u65f6\u9875\u9762\u663e\u793a\u4e3a\u7a7a\u767d\u9875\u3002\u8fd9\u4e2a\u201c\u6709\u65f6\u201d\u7684\u60c5\u51b5\uff0c\u7ecf\u8fc7\u591a\u8f6e\u591a\u8bbe\u5907\u3001\u591a\u6d4f\u89c8\u5668\u7684\u6d4b\u8bd5\u8bd5\u9a8c\uff0c\u53d1\u73b0\u53ea\u5728iOS\u7684Safari\u6d4f\u89c8\u5668\u4e2d\u4f1a\u51fa\u73b0\u7a7a\u767d\u9875\u73b0\u8c61\u3002\u5176\u4ed6\u65f6\u5019\u5747\u6b63\u5e38\u663e\u793a\uff0c\u5305\u62ec\u5728iOS\uff0cAndr\uff0cWindows\uff0cMac\uff0cLinux\u7b49\uff0c\u540c\u65f6\u5305\u62ecChrome\u3001Edge\u3001Firefox\u3001Safari\u7b49\u6d4f\u89c8\u5668\u4e0a\uff0c\u4e5f\u5747\u6b63\u5e38\u3002\u95ee\u9898\u9501\u5b9a\u5728 iOS + Safari \u8fd9\u4e2a\u60c5\u51b5\u4e0b\u662f\u7a7a\u767d\u9875\u3002<\/p>\n<p>\u7531\u4e8e\u662f\u624b\u673a\u79fb\u52a8\u7aef\uff0c\u65e0\u6cd5\u5f00\u542f\u5f00\u53d1\u8005\u6a21\u5f0f\uff08\u540e\u9762\u4f1a\u52a8\u7528iOS\u8fde\u63a5Mac\u7684\u5f00\u53d1\u8005\u6a21\u5f0f\u5927\u6740\u5668\uff0c\u662f\u540e\u8bdd\uff09\uff0c\u53ea\u80fd\u5148\u4ece\u670d\u52a1\u5668\u7aef\u8fdb\u884c\u9010\u884c\u8bca\u65ad\u626b\u63cf\u3002\u7ecf\u8fc7\u6570\u6b21\u7684\u63a5\u8fd1\u5bf9\u6bd4\uff0c\u53d1\u73b0\u6545\u969c\u9875\u9762\u548c\u6b63\u5e38\u9875\u9762\u7684\u5dee\u5f02\u8fdb\u4e00\u6b65\u5730\u88ab\u5b9a\u4f4d\u5230\u51e0\u884c\u4ee3\u7801\u4e0a\uff0c\u800c\u8fd9\u51e0\u884c\u4ee3\u7801\u7684\u5171\u540c\u7279\u5f81\u53c8\u662f\u9875\u9762\u7684URL\u5730\u5740\u53c2\u6570\u3002<\/p>\n<p><img loading=\"lazy\" class=\"\" src=\"https:\/\/ufqi.com\/blog\/wp-content\/uploads\/2021\/03\/page-diff-with-url-params-1024x712.jpg\" width=\"662\" height=\"460\" \/><br \/>Notepad++ \u6587\u4ef6\u9010\u884c\u5bf9\u6bd4<\/p>\n<p>\u901a\u8fc7NotePad++\u7684\u6587\u4ef6\u5bf9\u6bd4\u529f\u80fd\uff0c\u5728\u4e0a\u56fe\u4e2d\uff0c\u5de6\u4fa7\u662f\u80fd\u591f\u6b63\u5e38\u663e\u793a\u7684\u9875\u9762\uff0c\u53f3\u4fa7\u662f\u65e0\u6cd5\u6b63\u5e38\u663e\u793a\uff0c\u5448\u73b0\u4e3a\u7a7a\u767d\u9875\u7684\u9875\u9762\u3002\u7531\u4e8e\u4ece\u670d\u52a1\u5668\u7aef\u6765\u770b\uff0c\u5df2\u7ecf\u6b63\u786e\u5730\u7684\u8f93\u51fa\u76f8\u5173\u4ee3\u7801\uff0c\u4e3a\u4f55URL\u5730\u5740\u53c2\u6570\u4e3a\u5f71\u54cd\u5230\u9875\u9762\u7684\u6b63\u5e38\u52a0\u8f7d\uff1f Hanjst\u6c49\u5409\u65af\u7279\u5728\u63a5\u7ba1\u9875\u9762\u4e4b\u540e\u5e72\u4e86\u4e9b\u5565\uff1f \u600e\u4e48\u4f1a\u5bf9URL\u53c2\u6570\u8fdb\u884c\u533a\u522b\u5bf9\u5f85\u6216\u8005\u8fdb\u884c\u76f8\u5173\u4fee\u6539\uff1f\u81f3\u6b64\uff0c\u540e\u7aef\u3001\u670d\u52a1\u5668\u7aef\u80fd\u505a\u7684\u5de5\u4f5c\u5df2\u7ecf\u5230\u4e86\u6781\u81f4\uff0c\u524d\u7aef\u9875\u9762\u80fd\u663e\u793a\u548c\u4e0d\u80fd\u663e\u793a\u7684\u5dee\u5f02\u5df2\u7ecf\u5f88\u660e\u786e\u7684\u5b9a\u4f4d\u5230URL\u5730\u5740\u53c2\u6570\u4e0a\u4e86\u3002<\/p>\n<p>\u5f88\u5feb\u6211\u4eec\u5728\u524d\u7aef\u6253\u5f00\u4e86 Hanjst \u7684\u8c03\u8bd5\u6a21\u5f0f\uff0c\u5728\u521d\u59cb\u5316\u65f6\uff0c\u7ed9\u4e0e\u53d8\u91cf IsDebug \u4e3a true.<\/p>\n<p>\u00a0window.Hanjst = {&#8216;JsonDataId&#8217;:&#8217;Hanjstjsondata&#8217;,<br \/> <strong>&#8216;IsDebug&#8217;:true, <\/strong><br \/>&#8216;RandomString&#8217;:&#8217;randi&#8217;, <br \/>&#8216;LoadingLayerId&#8217;:&#8217;Hanjstloading&#8217;}; \/\/ optional<\/p>\n<p>\u9057\u61be\u5730\u662f\uff0c\u5f53Hanjst\u8bbe\u7f6e\u4e3a\u8c03\u8bd5\u6a21\u5f0f\u65f6\uff0c\u7a7a\u767d\u9875\u6545\u969c\u9875\u9762\u4f9d\u7136\u6ca1\u6709\u7ed9\u51fa\u66f4\u591a\u7684\u8c03\u8bd5\u4fe1\u606f\uff08 \u540e\u9762\u4e3a\u9488\u5bf9\u6b64\u5904\u8fdb\u884c\u6539\u53d8\uff0c\u662f\u540e\u8bdd\uff09\u3002<\/p>\n<p>\u8feb\u4e0d\u5f97\u5df2\u5730\uff0c\u6211\u4eec\u5f00\u59cb\u5bfb\u6c42\u5728\u624b\u673a\u7aef\u600e\u4e48\u5bf9\u5176\u6d4f\u89c8\u5668\u884c\u4e3a\u8fdb\u884c\u4fa6\u6d4b\uff0c\u901a\u8fc7\u641c\u7d22\u5f15\u64ce\u68c0\u7d22\uff0c\u627e\u5230iOS\u8bbe\u5907\u901a\u8fc7\u7ebf\u7f06\u8fde\u63a5\u5230Mac\u4e0a\uff0c\u7136\u540e\u540c\u65f6\u5f00\u542fSafari\uff0c\u53ef\u4ee5\u5728Mac\u7684Safari\u7684\u5f00\u53d1\u8005\u6a21\u5f0f\u4e0b\u7684\u63a7\u5236\u53f0\u770b\u5230\u540c\u6b65\u5728iOS\u8bbe\u5907\u4e0a\u662fSafari\u76f8\u5173\u9875\u9762\u7684\u8c03\u8bd5\u4fe1\u606f\u8f93\u51fa\u3002<\/p>\n<p>\u8fd9\u4e2a iOS Safari + Mac Safari \u7684\u8fde\u63a5\u53ca\u914d\u7f6e\u7684\u8fc7\u7a0b\u7a0d\u5fae\u590d\u6742\uff0c\u4e0b\u9762\u662f\u5177\u4f53\u7684\u6b65\u9aa4\u4fe1\u606f(\u00a0<b><a class=\"bigfont\" href=\"https:\/\/ufqi.com\/naturedns\/search?q=-R\/V2SS\" target=\"_blank\">-R\/V2SS<\/a><\/b> )\uff0c\u8f6c\u8f7d\u5907\u5fd8\u3002<\/p>\n<hr \/>\n<p>To start debugging you\u2019ll need your iOS device, a mac and a lightning cable. Then start by making sure both devices are configured to allow this.<\/p>\n<h2>Configure devices:<\/h2>\n<ol>\n<li>Launch Safari on your mac; open preferences and within the advanced tab click the checkbox for \u201cShow Develop menu in menu bar\u201d.\n<ol>\n<li>Confirm, you should now see a menu called Develop in the top bar<\/li>\n<\/ol>\n<\/li>\n<li>On your iOS device (iPhone or iPad) go to Settings &gt; Safari &gt; Advanced and slide the toggle on for Web Inspector.<\/li>\n<\/ol>\n<h2>Debug a site in Mobile Safari:<\/h2>\n<ol>\n<li>Connect your iOS device (iPhone or iPad) to your mac<\/li>\n<li>On the device browse to your site in Mobile Safari<\/li>\n<li>On your mac\u2019s Safari, under the Develop menu you should see an option for your iOS device (either called iPhone or iPad).<\/li>\n<li>In that sub-menu you should see the url of the website you want to debug. Click that url and it will open a new Safari window with the full Safari Dev Tools.<\/li>\n<li>Start your investigation!<\/li>\n<\/ol>\n<hr \/>\n<p>\u7ecf\u8fc7\u4e00\u756a\u63a2\u7d22\u548c\u6298\u817e\uff0c\u6700\u7ec8\u6211\u4eec\u5728Mac\u7684Safari\u63a7\u5236\u53f0\u4e0a\u770b\u5230\u5728iOS\u4e0a\u7684Safari\u8bbf\u95ee\u6211\u4eec\u7684\u76ee\u6807\u6545\u969c\u9875\u9762\u7684\u8c03\u8bd5\u8f93\u51fa\u4fe1\u606f\uff0c\u7ed3\u679c\u51fa\u4e4e\u6240\u6599\u3002<\/p>\n<p><img loading=\"lazy\" class=\"\" src=\"https:\/\/ufqi.com\/blog\/wp-content\/uploads\/2021\/03\/mac-safari-web-inspector-console-with-ios-ufqiwork-1024x782.png\" width=\"650\" height=\"497\" \/><br \/>iOS Safari \u8fde\u63a5Mac Safari\u8c03\u8bd5<\/p>\n<p>\u5728\u63a7\u5236\u53f0\u8f93\u51fa\u7684\u8c03\u8bd5\u4fe1\u606f\u4e2d\uff0cHanjst\u6c49\u5409\u65af\u7279\u786e\u5b9e\u6267\u884c\u5931\u8d25\u4e86\uff0c\u629b\u51fa\u5f02\u5e38\u7684\u6d88\u606f\u662f\u9047\u5230\u672a\u8bc6\u522b\u7684\u5173\u952e\u8bcd\u201ctel\u201d\uff0c \u800ctel \u5728\u4e0a\u6587\u4e2d\u6307\u793a\u4e3a\u201ctel:00030101&#8243;\u3002 \u6839\u636e\u8fd9\u4e9b\u4fe1\u606f\uff0c\u95ee\u9898\u5c31\u4e00\u76ee\u4e86\u7136\u4e86\uff0ciOS\u7248\u7684Safari\u5728\u6536\u5230 addrCode=00030101 \u8fd9\u6837\u7684\u6587\u672c\u65f6\uff0c\u6839\u636e\u6d4f\u89c8\u5668\u8bbe\u7f6e\uff0c\u81ea\u52a8\u5730\u5bf9 00030101 \u52a0\u4e0a\u4e86\u7535\u8bdd\u534f\u8bae\u7684\u94fe\u63a5\uff0c\u76f8\u5173\u53c2\u6570\u53d8\u6210\u4e86\uff1a addrCode=&lt;a href=&#8221;00030101&#8243;&gt;00030101&lt;\/a&gt; . \u4e8e\u662f\u95ee\u9898\u53d1\u751f\u4e86\uff0cHanjst\u9884\u671f\u7684\u662f\u5bf9\u7eaf\u6587\u672c\u8fdb\u884c\u663e\u793a\uff0c\u7ed3\u679c\u591a\u51fa\u4e86 &lt;a href=&#8221;&#8221;&gt;&lt;\/a&gt; \u7b49\u8fd9\u4e9b\u5b57\u7b26\u3002<\/p>\n<p>\u5b9e\u9645\u4e0a\uff0cHanjst\u6709\u5bf9\u5f85\u5f85\u5904\u7406\u7684\u652f\u4ed8\u8fdb\u884c\u53cc\u5f15\u53f7\u8f6c\u4e49\u7684\u3002\u6b64\u5904\u4e4b\u6240\u4ee5\u53d1\u751f\u4e86\u5f02\u5e38\uff0c\u4e00\u65f6iOS Safari\u5728\u7ec8\u7aef\u5bf9\u6587\u672c\u8fdb\u884c\u4e86\u4fee\u6539\u52a0\u4e0a\u4e86\u8d85\u94fe\u63a5\uff0c\u53e6\u4e00\u65b9\u9762\u8fd8\u5728\u4e8e\u8fd9\u4e00\u53e5 Hanjst\u8bed\u53e5\u7684\u4e66\u5199\u3002<br \/>{$pageUrl=&#8221;abc.jsp?addrCode=00030101&#8243;}<\/p>\n<p>\u8fd9\u79cd\u76f4\u63a5\u8d4b\u503c\u8bed\u53e5\u7684\u5199\u6cd5\uff0c\u5c31\u8df3\u8fc7\u4e86 Hanjst\u672c\u8eab\u5bf9\u5f85\u5904\u7406\u5b57\u7b26\u4e32\u7684\u53cc\u5f15\u53f7\u8f6c\u4e49\u7684\u5904\u7406\u7a0b\u5e8f\u3002<br \/>\u95ee\u9898\u9010\u6e10\u6e05\u6670\uff0c\u5728iOS\u7684Safari\u4e2d\uff0c\u5982\u679c\u9ed8\u8ba4\u5f00\u542f\u4e86\u7535\u8bdd\u53f7\u7801\u8bc6\u522b\uff0c\u800c\u4e14\u9875\u9762\u4e2d\u76f8\u5173\u53d8\u91cf\u53c8\u6709\u70b9\u7c7b\u4f3c\u7535\u8bdd\u53f7\u7801\uff0c\u518d\u5219\u5728Hanjst\u7684\u8bed\u53e5\u4e2d\u5199\u6709\u5982\u4e0b\u8fd9\u6837\u7684\u8bed\u53e5\uff0c\u56db\u5219\u78b0\u5de7\u8fd9\u4e2a\u8bed\u53e5\u662f\u76f4\u63a5\u5199\u5728Hanjst\u7684\u4e3b\u6a21\u677f\u6587\u4ef6( \u53c2\u8003 <a href=\"https:\/\/wadelau.github.io\/hanjst\/index\">-Hanjst-doc<\/a> )\u4e2d\uff0c \u540c\u65f6\u6ee1\u8db3\u8fd9\u56db\u4e2a\u6761\u4ef6\uff0c\u5219\u89e6\u53d1\u8fd9\u4e2a\u5f02\u5e38\u62a5\u9519\u3002<br \/>{$aStr=&#8221;aName=00001234567&#8243;}<br \/>&#8211;&gt;\u00a0<br \/>{$aStr=&#8221;aName=&lt;a href=&#8221;tel:00001234567&#8243;&gt;00001234567&lt;\/a&gt;&#8221;}<\/p>\n<p>\u5f04\u6e05\u95ee\u9898\u4e4b\u540e\uff0c\u6211\u4eec\u5f00\u59cb\u7740\u624b\u8fdb\u884c\u4fee\u6b63\uff0c\u5c06aName\u7684\u5f85\u8d4b\u503c\u653e\u5165HTML\u7684\u4e00\u4e2ainput\u5143\u7d20\u4e4b\u4e2d\uff0ciOS\u7684Safari\u76ee\u524d\u9ed8\u8ba4\u5c06\u4e0d\u5bf9input\u5143\u7d20\u7684\u503c\u8fdb\u884c\u81ea\u52a8\u8ffd\u52a0tel\u534f\u8bae\u8d85\u94fe\u63a5\u3002\u5982\u6b64\u5219\u53ef\u4ee5\u56de\u907f\u8be5\u95ee\u9898\u3002<\/p>\n<p>{$aStr=&#8221;aName=00001234567&#8243;}<br \/>&#8211;&gt;<br \/>&lt;input id=&#8221;aNameTag&#8221; name=&#8221;aNameTag&#8221; value=&#8221;00001234567&#8243; type=&#8221;hidden&#8221;\/&gt;<br \/>{$aStr=&#8221;aName=&#8221;+document.getElementById(&#8216;aNameTag&#8217;).value}<\/p>\n<p>\u6545\u969c\u539f\u56e0\u627e\u5230\uff0c\u95ee\u9898\u5f97\u4ee5\u89e3\u51b3\u3002<br \/>\u9274\u4e8e\u5728\u79fb\u52a8\u7ec8\u7aef\u4e0a\u5982\u6b64\u8270\u96be\u5730\u8c03\u8bd5\u7a7a\u767d\u9875\u9762\u7c7b\u4f3c\u6545\u969c\uff0c\u6211\u4eec\u8fd8\u9700\u8981\u8fdb\u4e00\u6b65\u5730\u5347\u7ea7\u6539\u8fdbHanjst\u6c49\u5409\u65af\u7279\uff0c\u4f7f\u4e4b\u80fd\u591f\u5728\u6545\u969c\u53d1\u751f\u65f6\uff0c\u9664\u4e86\u5728\u63a7\u5236\u53f0\u8f93\u51fa\u5f02\u5e38\u4fe1\u606f\uff0c\u8fd8\u5e94\u8be5\u8003\u8651\u79fb\u52a8\u7ec8\u7aef\u4e0a\u65e0\u6cd5\u5b9e\u65f6\u5730\u3001\u8f7b\u6613\u5730\u83b7\u53d6\u63a7\u5236\u53f0\u8f93\u51fa\u4fe1\u606f\u7684\u60c5\u51b5\u3002\u7ed3\u5408\u8fd9\u4e2aIssue\u6240\u53cd\u9988\u5230\u7684\u4fe1\u606f\u3001\u89e3\u51b3\u95ee\u9898\u83b7\u5f97\u7684\u7ecf\u9a8c\uff0c\u5bf9Hanjst\u6c49\u5409\u65af\u7279\u5347\u7ea7\u6539\u8fdb\u5982\u4e0b\u3002<\/p>\n<p>console.log(JSON.stringify(e1200, Object.getOwnPropertyNames(e1200));<br \/>&#8211;&gt;<br \/>var tmpStr = JSON.stringify(e1200, Object.getOwnPropertyNames(e1200)); <br \/> console.log(tmpStr);<br \/> if(isDebug){ window.alert((new Date())+&#8217;:\\n&#8217;+tmpStr); }<\/p>\n<p>\u5982\u6b64\u6539\u8fdb\u4e4b\u540e\uff0c\u5f53Hanjst\u5f00\u542f\u8c03\u8bd5\u6a21\u5f0f\u4e4b\u540e\uff0c\u9047\u6709\u4e0a\u8ff0\u5f02\u5e38\u629b\u51fa\uff0c\u9664\u4e86\u5728\u63a7\u5236\u53f0\u8f93\u51fa\u76f8\u5173\u5f02\u5e38\u4fe1\u606f\u5916\uff0c\u8fd8\u901a\u8fc7windows.alert\u5f39\u51fa\u6846\u544a\u77e5\u8c03\u7528\u8005\uff0c\u4ece\u800c\u66f4\u65b9\u4fbf\u79fb\u52a8\u7ec8\u7aef\u7528\u6237\u8fdb\u884c\u76f8\u5173\u4fe1\u606f\u8c03\u8bd5\u3002Hanjst\u6539\u8fdb\u540e\u7684\u8c03\u8bd5\u4fe1\u606f\u5982\u4e0b\u56fe\u3002<\/p>\n<p><img src=\"https:\/\/ufqi.com\/blog\/wp-content\/uploads\/2021\/03\/safari-auto-tel-with-hanjst.png\" \/><br \/>Hanjst \u6c49\u5409\u65af\u7279\u5728\u79fb\u52a8\u7aef\u6d4f\u89c8\u5668\u8c03\u8bd5<\/p>\n<p>\u5347\u7ea7\u6539\u8fdb\u540e\u7684Hanjst\u5c06\u66f4\u52a0\u5bb9\u6613\u5730\u7684\u8c03\u8bd5iOS\u4e0aSafari\u7684\u5f02\u5e38\u629b\u51fa\u4fe1\u606f\uff0c\u540c\u6837\u5730\uff0c\u8fd9\u4e9b\u6539\u8fdb\u4e5f\u53ef\u4ee5\u5e2e\u52a9\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u8f7b\u6613\u5730\u8c03\u8bd5\u7684Chrome\u3001Firefox\u7b49\u4e2dHanjst\u7684\u8868\u73b0\u3002<\/p>\n<hr \/>\n<p>Hanjst\u6c49\u5409\u65af\u7279\u5176\u4ed6\u6539\u8fdb\uff1a<\/p>\n<p>\u00a01. \u6539\u8fdb\u5bf9 if conditionExpr \u7684\u652f\u6301\uff1a<br \/>{if aString.indexOf(&#8216;abc&#8217;) &gt; -1}<br \/>\u00a0 \u00a0 {$hasAbd=true}<br \/>{\/if}<\/p>\n<hr \/>\n<p>\u795d\u613f\u660e\u5929\u4f1a\u66f4\u597d\uff01 \u5c31\u5982\u540c\u6211\u4eec\u8d8a\u6765\u8d8a\u660e\u6670\u5730\u770b\u5230\u5168\u4eba\u7c7b\u5373\u5c06\u6218\u80dc\u65b0\u51a0\u80ba\u708e\u75c5\u6bd2\uff01<\/p>\n<p>\u4ee5\u4e0a\u8de8\u5c4f\u3001\u8de8\u8bbe\u5907\u4f20\u8f93\u622a\u56fe\u56fe\u7247\u4f7f\u7528\uff1a<\/p>\n<ul>\n<li><a href=\"https:\/\/ufqi.com\/mobxpc\/\"><b>-Mobxpc<\/b>: \u8de8\u5c4f\u6570\u636e\u4f20\u9001<\/a>, Tools for Data Travelling across devices and screens<\/li>\n<\/ul>\n<hr \/>\n<p><img loading=\"lazy\" class=\"\" src=\"https:\/\/ufqi.com\/dev\/hanjst\/hanjst-logo.2020.v2.png\" alt=\"Hanjst\" width=\"366\" height=\"161\" \/><br \/>Hanjst \u6c49\u5409\u65af\u7279 Logo<\/p>\n<p><span class=\"emoji\">\ud83d\ude4b<\/span>Hanjst\u6c49\u5409\u65af\u7279 \u662f\u4e00\u79cd\u57fa\u4e8eJavaScript\u7684\u6a21\u677f\u8bed\u8a00\u53ca\u6a21\u7248\u89e3\u6790\u5f15\u64ce\uff0c\u5979\u8fd0\u884c\u5728\u5ba2\u6237\u7aef\u6216\u670d\u52a1\u5668\u7aef\u3002<\/p>\n<p>\ud83d\ude4bHanjst\u6c49\u5409\u65af\u7279 \u80fd\u591f\u8868\u8ff0\u903b\u8f91\u63a7\u5236\uff0c\u80fd\u591f\u5b9e\u73b0\u4e0e\u670d\u52a1\u5668\u7aef\u6a21\u7248\u8bed\u8a00\u76f8\u540c\u7684\u5f3a\u5927\u529f\u80fd\u3002<\/p>\n<ul>\n<li>\n<p>Hanjst\u5f53\u5b8c\u5168\u5728\u5ba2\u6237\u7aef\u89e3\u6790\u65f6\uff0c\u8282\u7701\u670d\u52a1\u5668\u7aef\u8ba1\u7b97\u8d44\u6e90;<\/p>\n<\/li>\n<li>\n<p>Hanjst\u6a21\u677f\u8bed\u8a00\u72ec\u7acb\uff0c\u4e0d\u4e0e\u670d\u52a1\u5668\u7aef\u8d44\u6e90\u505a\u4efb\u4f55\u7ed1\u5b9a\uff1b<\/p>\n<\/li>\n<li>\n<p>\u7eaf\u7cb9\u7684MVC\uff0c\u5c42\u95f4\u6570\u636e\u7528JSON\u683c\u5f0f\u4f20\u9012\uff1b<\/p>\n<\/li>\n<li>\n<p>\u5e38\u89c1\u6a21\u677f\u8bed\u8a00\u529f\u80fd\u5168\u652f\u6301\uff0c\u9644\u5e26\u590d\u6742\u800c\u5f3a\u5927\u7684JavaScript\u7f16\u7a0b\u80fd\u529b\uff1b<\/p>\n<\/li>\n<li>\n<p>\u65e0\u5b66\u4e60\u6210\u672c\uff0c\u76f4\u63a5\u4f7f\u7528JavaScript\u4e66\u5199\u6a21\u677f\u8bed\u8a00\uff1b<\/p>\n<\/li>\n<li>\n<p>\u2026.<\/p>\n<\/li>\n<\/ul>\n<p>Hanjst is a JavaScript-based templating language and parsing engine that runs on both the client-side and\/or server-side.<\/p>\n<p>Hanjst can express logical controls and achieve the same functionalities as the server-side templating languages.<\/p>\n<ul>\n<li>\n<p>Hanjst\u2019s Run-time in client-side, reduce computing render in server-side;<\/p>\n<\/li>\n<li>\n<p>Hanjst is Language-independent, not-bound with back-end scripts or languages;<\/p>\n<\/li>\n<li>\n<p>Totally-isolated between MVC, data transfer with JSON;<\/p>\n<\/li>\n<li>\n<p>Full-support template tags with built-in logic and customized JavaScript functions;<\/p>\n<\/li>\n<li>\n<p>No more tags languages to be learned, just JavaScript;<\/p>\n<\/li>\n<li>\n<p>\u2026.<\/p>\n<\/li>\n<\/ul>\n<p>\u547c\u5e94\u5f00\u5934\u5317\u4eac\u7684\u6c99\u5c18\u66b4\uff01<\/p>\n<p><img loading=\"lazy\" class=\"\" src=\"https:\/\/ufqi.com\/blog\/wp-content\/uploads\/2021\/03\/%E5%8C%97%E4%BA%AC%E5%92%8C%E9%A3%8E%E4%B8%BD%E6%97%A5-vs-%E6%B2%99%E5%B0%98%E6%9A%B4-769x1024.jpeg\" width=\"591\" height=\"787\" \/><br \/>\u5317\u4eac\u98ce\u548c\u65e5\u4e3d-vs-\u6c99\u5c18\u66b4<\/p>\n<p>\u00a0<span id=\"sample-permalink\"><a href=\"https:\/\/ufqi.com\/blog\/?p=2489&amp;preview=true\" target=\"wp-preview-2489\">https:\/\/ufqi.com\/blog\/<span id=\"editable-post-name\">hanjst-updt-with-safari-tel<\/span>\/<br \/><b><\/b><\/a><b><a class=\"bigfont\" href=\"https:\/\/ufqi.com\/naturedns\/search?q=-R\/12Sg\" target=\"_blank\">-R\/12Sg<\/a><\/b><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u65e5\u4e4b\u5317\u4eac\uff082021Mar16\uff09\u4e0e\u6628\u65e5\u4e4b\u5317\u4eac\uff0c\u662f\u5730\u72f1\uff08\u72c2\u98ce\u5927\u4f5c\u6c99\u5c18\u66b4\u767d\u663c\u5982\u591c\uff09\u4e0e &hellip; <a href=\"https:\/\/ufqi.com\/blog\/hanjst-updt-with-safari-tel\/\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[301,6],"tags":[293,405,294],"_links":{"self":[{"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/posts\/2489"}],"collection":[{"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/comments?post=2489"}],"version-history":[{"count":8,"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/posts\/2489\/revisions"}],"predecessor-version":[{"id":2501,"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/posts\/2489\/revisions\/2501"}],"wp:attachment":[{"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/media?parent=2489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/categories?post=2489"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/tags?post=2489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}