{"id":522891,"date":"2026-09-09T09:00:00","date_gmt":"2026-09-09T08:00:00","guid":{"rendered":"https:\/\/focusme.com\/?p=522891"},"modified":"2026-11-12T13:57:11","modified_gmt":"2026-11-12T13:57:11","slug":"how-to-block-websites-on-mac","status":"publish","type":"post","link":"https:\/\/focusme.com\/zh\/blog\/how-to-block-websites-on-mac\/","title":{"rendered":"\u5982\u4f55\u5728 Mac \u4e0a\u5c4f\u853d\u7f51\u7ad9\uff08Safari\u3001Chrome \u53ca\u5176\u4ed6\u6d4f\u89c8\u5668\uff09"},"content":{"rendered":"<p>Mac \u81ea\u5e26\u4e24\u79cd\u5c4f\u853d\u7f51\u7ad9\u7684\u65b9\u6cd5\uff0c\u4f46\u90fd\u4e0d\u662f\u4e3a\u63d0\u51fa\u8fd9\u4e2a\u95ee\u9898\u7684\u4eba\u8bbe\u8ba1\u7684\u3002Screen Time \u662f\u4e3a\u5b69\u5b50\u7684 Mac \u51c6\u5907\u7684\uff0c\u5bc6\u7801\u7531\u5bb6\u957f\u4fdd\u7ba1\u3002hosts \u6587\u4ef6\u5219\u9700\u8981\u5728\u7ec8\u7aef\u91cc\u7f16\u8f91\uff0c\u800c\u540c\u6837\u7684\u7ec8\u7aef\u7f16\u8f91\u5c31\u80fd\u628a\u5b83\u64a4\u9500\u3002\u4e0b\u9762\u5148\u4ecb\u7ecd\u8fd9\u4e24\u79cd\u65b9\u6cd5\u53ca\u5176\u771f\u5b9e\u7684\u5c40\u9650\uff0c\u7136\u540e\u4ecb\u7ecd FocusMe \u8ba1\u5212\uff1a\u5b83\u6309\u65f6\u95f4\u8868\u5728 Safari\u3001Chrome\u3001Firefox \u548c Brave \u4e2d\u5c4f\u853d\u7f51\u7ad9\uff0c\u5e76\u63d0\u4f9b\u7531\u60a8\u9009\u62e9\u7684\u4fdd\u62a4\u3002<\/p>\n\n<h2>\u624b\u52a8\u65b9\u6cd5\u53ca\u5176\u4e0d\u8db3<\/h2>\n\n<h3>\u5c4f\u5e55\u65f6\u95f4<\/h3>\n<ol>\n<li class=\"translation-block\">\u6253\u5f00<strong>\u7cfb\u7edf\u8bbe\u7f6e<\/strong>\uff0c\u7136\u540e\u662f<strong>\u5c4f\u5e55\u4f7f\u7528\u65f6\u95f4<\/strong>\uff0c\u518d\u662f<strong>\u5185\u5bb9\u4e0e\u9690\u79c1<\/strong>\uff0c\u5e76\u5c06\u5176\u5f00\u542f\u3002<\/li>\n<li class=\"translation-block\">\u5728<strong>\u7f51\u9875\u5185\u5bb9<\/strong>\u4e0b\uff0c\u9009\u62e9<strong>\u9650\u5236\u6210\u4eba\u7f51\u7ad9<\/strong>\uff0c\u7136\u540e\u628a\u60a8\u60f3\u5c4f\u853d\u7684\u7f51\u7ad9\u6dfb\u52a0\u5230<strong>Restricted<\/strong>\u5217\u8868\u4e2d\u3002<\/li>\n<li>\u8bbe\u7f6e Screen Time \u5bc6\u7801\uff0c\u8fd9\u6837\u6ca1\u6709\u5b83\u5c31\u65e0\u6cd5\u66f4\u6539\u8bbe\u7f6e\u3002<\/li>\n<\/ol>\n<p class=\"translation-block\">\u5b83\u7684\u5c40\u9650\u5728\u4e8e\uff1a\u5bc6\u7801\u662f\u60a8\u81ea\u5df1\u8bbe\u7f6e\u7684\uff1b\u6ca1\u6709\u65f6\u95f4\u8868\uff1b\u800c\u4e14\u5fc5\u987b\u5f00\u542f<strong>\u9650\u5236\u6210\u4eba\u7f51\u7ad9<\/strong>\u8fc7\u6ee4\uff0c\u9650\u5236\u5217\u8868\u624d\u4f1a\u751f\u6548\uff0c\u6709\u4e9b\u4eba\u53d1\u73b0\u8fd9\u4f1a\u5c4f\u853d\u6389\u6bd4\u9884\u671f\u66f4\u591a\u7684\u5185\u5bb9\u3002<\/p>\n\n<h3>hosts \u6587\u4ef6<\/h3>\n<p class=\"translation-block\">Mac \u6709\u4e00\u4e2a\u628a\u7f51\u7ad9\u540d\u79f0\u6620\u5c04\u5230\u5730\u5740\u7684\u6587\u672c\u6587\u4ef6 <code>\/etc\/hosts<\/code>\uff0c\u6bcf\u4e2a\u7f51\u7ad9\u4e00\u884c\u6307\u5411 <code>127.0.0.1<\/code>\uff0c\u5c31\u4f1a\u4f7f\u8be5\u7f51\u7ad9\u5728\u8fd9\u53f0 Mac \u7684\u6240\u6709\u6d4f\u89c8\u5668\u4e2d\u65e0\u6cd5\u52a0\u8f7d\u3002\u5b83\u7684\u5c40\u9650\u5728\u4e8e\uff1a\u9700\u8981\u4f7f\u7528\u7ec8\u7aef\u548c\u7ba1\u7406\u5458\u5bc6\u7801\uff1b\u6ca1\u6709\u65f6\u95f4\u8868\uff1b\u6bcf\u4e2a\u5176\u4ed6\u5730\u5740\u90fd\u9700\u8981\u5355\u72ec\u4e00\u884c\uff1b\u800c\u4e14\u540c\u6837\u7684\u7f16\u8f91\u5c31\u80fd\u64a4\u9500\u3002<\/p>\n\n<h3>\u6d4f\u89c8\u5668\u6269\u5c55\u7a0b\u5e8f<\/h3>\n<p>\u5c4f\u853d\u6269\u5c55\u53ea\u5728\u4e00\u4e2a\u6d4f\u89c8\u5668\u4e2d\u6709\u6548\uff0c\u53ef\u4ee5\u5728\u5176\u6269\u5c55\u9875\u9762\u4e2d\u5173\u95ed\uff0c\u5728\u65e0\u75d5\u7a97\u53e3\u4e2d\u9664\u975e\u60a8\u5141\u8bb8\u5426\u5219\u4e5f\u4e0d\u4f1a\u751f\u6548\u3002Safari\u3001Chrome \u548c Firefox \u5404\u81ea\u90fd\u9700\u8981\u4e00\u4e2a\u3002<\/p>\n\n<h2>\u7528 FocusMe \u5728 Mac \u4e0a\u5c4f\u853d\u7f51\u7ad9<\/h2>\n<p>\u9002\u7528\u4e8e Mac \u7684 FocusMe \u53ef\u5728 macOS 12 \u6216\u66f4\u9ad8\u7248\u672c\u4e0a\u8fd0\u884c\uff0c\u652f\u6301 Apple Silicon \u548c Intel\u3002\u4e00\u4e2a\u8ba1\u5212\u5373\u53ef\u6db5\u76d6 Safari\u3001Chrome\u3001Firefox\u3001Brave \u548c Edge\uff0c\u6309\u65f6\u95f4\u8868\u8fd0\u884c\uff0c\u4fdd\u62a4\u7262\u56fa\u53ef\u9760\u3002<\/p>\n\n<h3>\u521b\u5efa\u8ba1\u5212<\/h3>\n<ol>\n<li class=\"translation-block\">\u5b89\u88c5 FocusMe\uff0c\u6388\u4e88\u5b83\u5728\u9996\u6b21\u8fd0\u884c\u65f6\u8bf7\u6c42\u7684\u8f85\u52a9\u529f\u80fd\u6743\u9650\uff08FocusMe \u9760\u5b83\u8bfb\u53d6\u7a97\u53e3\u6807\u9898\uff09\uff0c\u7136\u540e\u6253\u5f00<strong>\u8ba1\u5212<\/strong>\u6807\u7b7e\u9875\u3002\u70b9\u51fb<strong>\u6dfb\u52a0\u8ba1\u5212<\/strong>\u3002<\/li>\n<li class=\"translation-block\">\u5728<strong>\u5c4f\u853d\u5185\u5bb9<\/strong>\u4e2d\uff0c\u8f93\u5165\u6bcf\u4e2a\u7f51\u7ad9\u5e76\u70b9\u51fb<strong>\u6dfb\u52a0<\/strong>\uff0c\u6216\u8005\u70b9\u51fb\u73b0\u6210\u7684\u5217\u8868\uff08\u793e\u4ea4\u5a92\u4f53\u3001\u65b0\u95fb\u3001\u89c6\u9891\u6d41\u5a92\u4f53\u3001\u5373\u65f6\u901a\u8baf\u3001\u6e38\u620f\uff09\u3002\u4e00\u4e2a\u57df\u540d\u6db5\u76d6\u5b83\u7684\u5b50\u57df\u540d\uff1b\u50cf <code>youtube.com\/shorts<\/code> \u8fd9\u6837\u7684\u8def\u5f84\u4f1a\u5c4f\u853d\u7f51\u7ad9\u7684\u4e00\u90e8\u5206\u3002<\/li>\n<li class=\"translation-block\">\u70b9\u51fb<strong>\u4e0b\u4e00\u6b65<\/strong>\uff0c\u9009\u62e9\u5feb\u901f\u5b9a\u65f6\u5668\u6216\u6bcf\u5468\u65f6\u95f4\u8868\uff0c\u518d\u6b21\u70b9\u51fb<strong>\u4e0b\u4e00\u6b65<\/strong>\uff0c\u9009\u62e9\u4e25\u683c\u7a0b\u5ea6\uff0c\u7136\u540e\u70b9\u51fb<strong>\u521b\u5efa\u5e76\u542f\u7528<\/strong>\u3002<\/li>\n<\/ol>\n\n<img decoding=\"async\" src=\"\/wp-content\/themes\/focusme\/img\/docs-wizard-step1-websites.webp\" width=\"1200\" height=\"960\" alt=\"FocusMe \u8ba1\u5212\u5411\u5bfc\uff0c\u201c\u5c4f\u853d\u5185\u5bb9\u201d\u6b65\u9aa4\uff0c\u963b\u6b62\u5217\u8868\u4e2d\u5df2\u6709\u7f51\u7ad9\" loading=\"lazy\">\n\n<h3>Safari \u548c\u5176\u4ed6\u6d4f\u89c8\u5668<\/h3>\n<p class=\"translation-block\">Safari \u7531<strong>FocusMe for Safari<\/strong>\u63d0\u4f9b\u652f\u6301\uff0c\u8fd9\u662f\u6765\u81ea Mac App Store \u7684\u514d\u8d39\u6269\u5c55\uff1a\u6253\u5f00<strong>\u8bbe\u7f6e<\/strong>\uff0c\u7136\u540e\u662f<strong>\u4fdd\u62a4<\/strong>\uff0c\u5728<strong>\u6d4f\u89c8\u5668<\/strong>\u9762\u677f\u4e2d\u70b9\u51fb <strong>Safari<\/strong> \u8fdb\u884c\u5b89\u88c5\uff0c\u7136\u540e\u5728 Safari \u7684\u6269\u5c55\u8bbe\u7f6e\u4e2d\u5c06\u5176\u5f00\u542f\u3002Chrome\u3001Firefox\u3001Brave \u548c Edge \u4f7f\u7528\u6765\u81ea\u5404\u81ea\u5546\u5e97\u7684\u514d\u8d39 FocusMe \u6269\u5c55\uff0c\u540c\u6837\u53ef\u4ece\u8be5\u9762\u677f\u8fdb\u5165\u3002\u6709\u4e86\u6269\u5c55\uff0c\u88ab\u5c4f\u853d\u7684\u7f51\u7ad9\u4f1a\u663e\u793a FocusMe \u5c4f\u853d\u9875\u9762\uff1b\u6ca1\u6709\u6269\u5c55\uff0cFocusMe \u4f1a\u5173\u95ed\u8be5\u6807\u7b7e\u9875\u3002<\/p>\n\n<img decoding=\"async\" src=\"\/wp-content\/themes\/focusme\/img\/docs-blocked-page.webp\" width=\"1200\" height=\"915\" alt=\"\u663e\u793a\u5728\u88ab\u5c4f\u853d\u7f51\u7ad9\u4f4d\u7f6e\u4e0a\u7684 FocusMe \u5c4f\u853d\u9875\u9762\" loading=\"lazy\">\n\n<h3>\u5c4f\u853d\u9664\u6240\u9700\u4e4b\u5916\u7684\u4e00\u5207<\/h3>\n<p class=\"translation-block\">\u5bf9\u4e8e\u6df1\u5ea6\u5de5\u4f5c\uff0c\u628a\u6807\u7b7e\u65c1\u8fb9\u7684\u5f00\u5173\u5207\u6362\u4e3a<strong>\u5c4f\u853d\u5217\u8868\u4ee5\u5916\u7684\u6240\u6709\u7f51\u7ad9<\/strong>\uff0c\u53ea\u5141\u8bb8\u60a8\u7684\u5de5\u4f5c\u5de5\u5177\u3002\u5982\u679c\u60a8\u7684\u5de5\u5177\u901a\u8fc7 Google \u767b\u5f55\uff0c\u8bf7\u6dfb\u52a0 <code>accounts.google.com<\/code>\u3002<\/p>\n\n<h3>\u9650\u5236\u800c\u4e0d\u662f\u5c4f\u853d<\/h3>\n<p class=\"translation-block\">\u5728<strong>\u8fd0\u884c\u65f6\u95f4<\/strong>\u4e2d\uff0c\u628a\u67d0\u4e2a\u65f6\u95f4\u6bb5\u7684\u6a21\u5f0f\u8bbe\u4e3a<strong>\u65f6\u95f4\u9650\u5236<\/strong>\uff08\u6bcf\u5929 30 \u5206\u949f\u793e\u4ea4\u5a92\u4f53\uff09\u6216<strong>\u4f1a\u8bdd\u9650\u5236<\/strong>\uff08\u4e09\u6b21\u8bbf\u95ee\uff0c\u6bcf\u6b21\u5341\u5206\u949f\uff0c\u4e2d\u95f4\u9700\u8981\u7b49\u5f85\uff09\u3002FocusMe \u7edf\u8ba1\u60a8\u5b9e\u9645\u82b1\u8d39\u7684\u65f6\u95f4\u3002<\/p>\n\n<h2>\u8ba9\u5c4f\u853d\u6301\u7eed\u6709\u6548<\/h2>\n<p class=\"translation-block\"><strong>\u8bbe\u7f6e\u65f6\u95f4\u8868\u3002<\/strong>\u8ba1\u5212\u5728 9 \u70b9\u81ea\u884c\u5f00\u59cb\uff0c\u514d\u53bb\u4e86\u6bcf\u5929\u7684\u51b3\u5b9a\u3002<\/p>\n<p class=\"translation-block\"><strong>\u9009\u62e9\u4e25\u683c\u7a0b\u5ea6\u3002<\/strong>\u201c\u5bbd\u677e\u201d\u8981\u6c42\u5728\u8ba1\u5212\u505c\u6b62\u524d\u8f93\u5165\u516b\u4e2a\u968f\u673a\u5b57\u7b26\uff1a\u8fd9\u662f\u4e00\u4e2a\u51b3\u5b9a\uff0c\u800c\u4e0d\u662f\u4e00\u79cd\u6761\u4ef6\u53cd\u5c04\u3002\u201c\u4e25\u683c\u201d\u610f\u5473\u7740\u5b8c\u7f8e\u8f93\u5165 25 \u4e2a\u5b57\u7b26\u5e76\u7b49\u5f85\u5341\u5206\u949f\uff0c\u4e0d\u80fd\u6682\u505c\u3002<\/p>\n\n<img decoding=\"async\" src=\"\/wp-content\/themes\/focusme\/img\/docs-wizard-step3-protection.webp\" width=\"1200\" height=\"960\" alt=\"FocusMe \u8ba1\u5212\u5411\u5bfc\uff0c\u201c\u4e25\u683c\u7a0b\u5ea6\u201d\u6b65\u9aa4\uff0c\u56db\u4e2a\u9884\u8bbe\" loading=\"lazy\">\n\n<p class=\"translation-block\"><strong>\u6216\u8005\u4e0b\u5b9a\u51b3\u5fc3\u3002<\/strong>\u5f3a\u5236\u6267\u884c\u6a21\u5f0f\u610f\u5473\u7740\u8ba1\u5212\u4f1a\u4e00\u76f4\u8fd0\u884c\u5230\u7ed3\u675f\uff1b\u8fd0\u884c\u671f\u95f4\u65e0\u6cd5\u505c\u6b62\u6216\u524a\u5f31\uff0c\u53ea\u80fd\u53d8\u5f97\u66f4\u4e25\u683c\u3002\u8ba1\u5212\u8fd0\u884c\u671f\u95f4\uff0c\u4e5f\u65e0\u6cd5\u4ece\u83dc\u5355\u680f\u9000\u51fa FocusMe\u3002\u5728 Mac \u4e0a\uff0c\u8ba1\u5212\u8fd0\u884c\u671f\u95f4\u8fd8\u53ef\u4ee5\u8ba9\u6d3b\u52a8\u76d1\u89c6\u5668\u3001\u7ec8\u7aef\u548c\u65f6\u949f\u8bbe\u7f6e\u4fdd\u6301\u5173\u95ed\uff0c\u56e0\u6b64\u65f6\u95f4\u8868\u4f1a\u5728\u5e94\u8be5\u7ed3\u675f\u7684\u65f6\u5019\u7ed3\u675f\u3002<\/p>\n\n<h2>\u5e38\u89c1\u95ee\u9898\u89e3\u7b54<\/h2>\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list\">\n<div id=\"faq-question-1\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question\">\u5b83\u80fd\u5c4f\u853d Safari \u4e2d\u7684\u7f51\u7ad9\u5417\uff1f<\/h3>\n<div class=\"rank-math-answer\">\n\n<p>\u53ef\u4ee5\uff0c\u901a\u8fc7 FocusMe for Safari\uff0c\u8fd9\u662f Mac App Store \u4e2d\u7684\u4e00\u4e2a\u514d\u8d39\u6269\u5c55\u3002Chrome\u3001Firefox\u3001Brave \u548c Edge \u4f7f\u7528\u514d\u8d39\u7684 FocusMe \u6269\u5c55\u3002\u4e00\u4efd\u5217\u8868\uff0c\u6240\u6709\u6d4f\u89c8\u5668\u3002<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-2\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question\">FocusMe \u4e3a\u4ec0\u4e48\u8981\u6c42\u8f85\u52a9\u529f\u80fd\u6743\u9650\uff1f<\/h3>\n<div class=\"rank-math-answer\">\n\n<p>\u8fd9\u6837\u5b83\u5c31\u80fd\u8bfb\u53d6\u7a97\u53e3\u6807\u9898\u3002\u8fd9\u4f7f\u89c4\u5219\u80fd\u591f\u5339\u914d\u67d0\u4e00\u4e2a\u7f51\u7ad9\u6216\u67d0\u4e00\u4e2a\u7a97\u53e3\uff0c\u800c\u4e0d\u662f\u6574\u4e2a\u5e94\u7528\u3002\u6309\u540d\u79f0\u5c4f\u853d\u5e94\u7528\u5219\u65e0\u9700\u5b83\u3002<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-3\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question\">\u6211\u80fd\u53ea\u5728\u5de5\u4f5c\u65f6\u95f4\u5c4f\u853d\u67d0\u4e2a\u7f51\u7ad9\u5417\uff1f<\/h3>\n<div class=\"rank-math-answer\">\n\n<p>\u662f\u7684\u3002\u5728\u6bcf\u5468\u8ba1\u5212\u8868\u4e0a\u753b\u51fa\u65f6\u95f4\uff0c\u8ba1\u5212\u5c31\u4f1a\u81ea\u52a8\u5f00\u59cb\u548c\u7ed3\u675f\u3002<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-4\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question\">\u5b83\u80fd\u5728 Apple Silicon \u7684 Mac \u4e0a\u4f7f\u7528\u5417\uff1f<\/h3>\n<div class=\"rank-math-answer\">\n\n<p>\u53ef\u4ee5\u3002FocusMe \u5728 M \u7cfb\u5217\u548c Intel Mac \u4e0a\u539f\u751f\u8fd0\u884c\uff0c\u652f\u6301 macOS 12 Monterey \u6216\u66f4\u9ad8\u7248\u672c\u3002<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n<p class=\"translation-block\">\u76f8\u5173\u9605\u8bfb\uff1a<a href=\"\/zh\/mac\/\">\u9002\u7528\u4e8e Mac \u7684 FocusMe<\/a>\u3001<a href=\"\/zh\/%e5%8d%9a%e5%ae%a2\/how-to-block-apps-on-mac\/\">\u5982\u4f55\u5728 Mac \u4e0a\u5c4f\u853d\u5e94\u7528<\/a>\u3001<a href=\"\/zh\/focusme-%e5%af%b9%e6%af%94-selfcontrol\/\">FocusMe \u4e0e SelfControl \u5bf9\u6bd4<\/a>\u3001<a href=\"\/zh\/%e5%8d%9a%e5%ae%a2\/how-to-block-websites-on-chrome\/\">\u5982\u4f55\u5728 Chrome \u4e0a\u5c4f\u853d\u7f51\u7ad9<\/a>\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>A Mac gives you two built-in ways to block a website and neither is made for the person asking. Screen Time is for a child&#8217;s Mac with a parent holding the passcode. The hosts file is a Terminal edit that the same Terminal edit undoes. Here are both with their real limits, and then a [&hellip;]<\/p>\n","protected":false},"author":67433,"featured_media":523010,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[8,282],"tags":[],"class_list":["post-522891","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-productivity","category-blocking-guides"],"acf":[],"_links":{"self":[{"href":"https:\/\/focusme.com\/zh\/wp-json\/wp\/v2\/posts\/522891","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/focusme.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/focusme.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/focusme.com\/zh\/wp-json\/wp\/v2\/users\/67433"}],"replies":[{"embeddable":true,"href":"https:\/\/focusme.com\/zh\/wp-json\/wp\/v2\/comments?post=522891"}],"version-history":[{"count":4,"href":"https:\/\/focusme.com\/zh\/wp-json\/wp\/v2\/posts\/522891\/revisions"}],"predecessor-version":[{"id":524048,"href":"https:\/\/focusme.com\/zh\/wp-json\/wp\/v2\/posts\/522891\/revisions\/524048"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/focusme.com\/zh\/wp-json\/wp\/v2\/media\/523010"}],"wp:attachment":[{"href":"https:\/\/focusme.com\/zh\/wp-json\/wp\/v2\/media?parent=522891"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/focusme.com\/zh\/wp-json\/wp\/v2\/categories?post=522891"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/focusme.com\/zh\/wp-json\/wp\/v2\/tags?post=522891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}