互联网(internet isn)并不总是人们想象的那种对儿童友好、知识渊博的仙境。对于每一篇甜蜜的博客文章(blog post),您都会遇到一个黑暗且不合适的网站,潜伏在拐角处,等待攻击您的 PC。如果您厌倦了一直保持谨慎并想摆脱互联网上的阴暗网站,那么这里有一个关于如何在您的计算机、手机或网络上阻止任何网站的指南。(how to block any website on your computer, phone, or network.)
如何阻止计算机、电话或网络上的任何网站(How to Block Any Website on Your Computer, Phone, or Network)
我为什么要屏蔽网站?(Why Should I Block Websites?)
网站屏蔽(Website blocking)已成为许多组织、学校甚至家庭的重要组成部分。这是父母和老师用来防止孩子访问不适合他们年龄的网站的一种策略。在专业工作场所,对某些网站的访问受到限制,以确保员工不会失去注意力并(focus and work)在无干扰的环境中完成任务。无论出于何种原因,网站监控都是互联网的重要组成部分,按照下面提到的方法,您将能够在任何地方阻止任何网站。
方法 1:在 Windows 10 上阻止任何网站(Method 1: Block Any Website on Windows 10)
Windows 10 是一种广泛使用的操作系统(operating system),主要用于学校和其他组织。在Windows(Windows)上阻止网站是一个简单的过程,用户(process and users)甚至可以在不打开Web 浏览器(web browser)的情况下执行此操作。
1. 在您的 Windows PC 上,通过管理员帐户(administrator account)登录(log in)并打开“此 PC”应用程序。
2. 使用顶部的地址栏,转到(go to)以下文件位置:
C:\Windows\System32\drivers\etc
3. 在此文件夹中,打开(open )标题为“hosts”的文件。(‘hosts.’)如果Windows要求您选择一个应用程序来运行该文件,请选择记事本。(choose Notepad.)
4. 您的记事本文件应如下所示。
5. 要阻止特定网站,请转到文件底部并输入(file and enter)127.0.0.1,后跟要阻止的网站的名称。例如,如果您想屏蔽Facebook,您将输入以下代码:127 . 0.0.1 https://www.facebook.com/
6. 如果您想限制更多站点,请按照相同的步骤并在下一行输入代码。对文件进行更改后,press Ctrl + S保存它。
注意:(Note:)如果您无法保存文件并出现“拒绝访问”等错误,请按照本指南进行操作。
7. 重新启动您的 PC,您应该能够阻止 Windows 10 计算机上的任何网站。
方法 2:在 MacBook 上阻止网站(Method 2: Block a Website on MacBook)
在Mac(Mac)上阻止网站的过程与Windows中的过程类似。
1. 在您的 MacBook 上,按 F4(press F4)并搜索 终端。(Terminal.)
2. 在Nano 文本(Nano text)编辑器中输入以下地址:
sudo nano /private/etc/hosts.
注意:(Note:)如果需要,请输入您的计算机密码。(computer password)
3. 在“hosts”文件中,输入 127.0.0.1(enter 127.0.0.1) ,后跟要阻止的网站名称。保存文件(Save the file)并重新启动您的 PC。
4. 特定网站应被屏蔽。
方法 3:在 Chrome 上阻止网站(Method 3: Block a Website on Chrome)
近年来,谷歌浏览器(Google Chrome)几乎成为网络浏览器的代名词。基于谷歌的浏览器彻底改变了网上冲浪,不仅可以更轻松地访问新网站,还可以阻止可疑网站。要禁止访问 Chrome 上的网站,您可以使用 BlockSite 扩展程序,这是一项可以完成工作的高效功能(To bar access to websites on Chrome, you can use the BlockSite extension, a highly effective feature that gets the job done)。
1. 打开谷歌浏览器并将BlockSite扩展(BlockSite)安装到您的浏览器上。(install)
2. 安装扩展后,您将被重定向到功能的配置页面(configuration page)。在初始设置期间,BlockSite会询问您是否要启用自动阻止功能(blocking feature)。这将使扩展程序可以访问(extension access)您的互联网使用模式和历史记录。如果这听起来合理,您可以单击“我接受”(click on “I Accept” )并启用该功能。
3. 在扩展程序的主页上,在空白文本字段中输入(enter)您要阻止的网站的名称。完成后,单击(click)绿色加号图标(green plus icon)以完成该过程。
4. 在BlockSite中,您有各种其他功能,可让您阻止特定类别的网站并创建互联网计划(internet plan)以提高您的注意力。此外,您可以对扩展程序进行编程以限制对包含特定单词或短语的站点的访问,从而确保最大的安全性。
注意:(Note:) Google Chromebook(Google Chromebook)的运行界面与Chrome类似。因此(Therefore),通过使用BlockSite 扩展(BlockSite extension),您也可以在Chromebook 设备(Chromebook device)上屏蔽网站。
另请阅读:(Also Read: )如何在Chrome 移动版和桌面版上(Chrome Mobile and Desktop)阻止网站(Block Websites)
方法 4:在 Mozilla Firefox 上阻止网站(Method 4: Block Websites on Mozilla Firefox)
Mozilla Firefox是另一种在互联网用户中广受欢迎的浏览器。幸运的是,Firefox 浏览器(Firefox browser)也可以使用BlockSite 扩展(BlockSite extension)。前往Firefox插件菜单并(menu and search)搜索BlockSite。下载并安装扩展程序并按照上述步骤阻止您选择的任何网站。
方法 5:(Method 5:) 如何在 Safari 上阻止网站(How to Block a Website on Safari)
Safari是MacBook(MacBooks)和其他Apple设备中的默认浏览器(default browser)。虽然您可以通过编辑方法 2(Method 2)中的“主机”文件来阻止Mac上的任何网站,但还有其他方法更可定制并提供更好的结果。SelfControl就是这样一种可以帮助您避免分心的应用程序。
1.下载(Download)应用程序并在您的 MacBook 上启动它。(launch)
2.点击“编辑黑名单”(Click on ‘Edit Blacklist’)并输入您要限制的站点的链接。
3. 在应用程序上,调整(adjust)滑块以确定对所选站点的限制持续时间。
4. 然后点击“开始”( ‘Start’),您黑名单上的所有网站都将在Safari中被屏蔽。
另请阅读:(Also Read:)被阻止或受限制的网站?这是免费(How)访问它们的方法
方法 6:在 Android 上阻止网站(Method 6: Block a Website on Android)
由于其用户友好性和可定制性,Android设备已成为智能手机用户的极受欢迎的选择。虽然您无法通过Android设置操作您的(Android)互联网配置(internet configuration),但您可以下载会为您屏蔽网站的应用程序。
1. 前往 Google Play 商店并下载(download)适用于 Android的BlockSite应用程序。(BlockSite)
2. 打开应用并启用(enable)所有权限。
3. 在应用程序主界面,点击(tap)右下角的绿色加号图标添加网站。(green plus icon)
4. 该应用程序将为您提供不仅可以阻止网站,还可以限制设备上分散注意力的应用程序的选项。
5.选择( Select)您要限制的应用程序和网站,然后(apps and websites)点击右上角的“完成”(tap on ‘Done’)。
6.您将能够阻止您的Android手机(Android Phone)上的任何网站。
方法 7:在 iPhone 和 iPad 上阻止网站(Method 7: Block Websites on iPhone & iPads)
对于Apple而言,用户安全和隐私(security and privacy)是最受关注的问题。为了坚持这一原则,该公司在其设备上引入了各种功能,使 iPhone 更加安全。以下是您可以通过 iPhone 设置直接阻止网站的方法:
1.打开(Open )iPhone 上的设置应用程序,然后(iPhone and tap)点击“屏幕(Settings app)时间”(‘Screen Time’)
2. 在这里,点击“内容和隐私限制”。(‘Content and Privacy Restrictions.’)
3. 在下一页上,启用内容和隐私限制选项旁边的切换(enable the toggle next to the Content & Privacy Restrictions option),然后点击内容限制。(tap on Content Restrictions.)
4. 在内容限制页面上(Content Restrictions page),向下滚动并点击“Web 内容”。(tap on ‘Web Content.’)
5. 在这里,您可以限制成人(limit adult)网站或点击“仅限允许的网站(Allowed Websites Only)”以限制对少数儿童友好网站的互联网访问。
6. 要阻止特定网站,请点击“限制成人网站”。(Limit Adult Websites. )然后点击从不允许列下的“添加网站” 。(‘Add Website’)
7. 添加后,您将能够限制对iPhone 和 iPad(iPhone and iPad)上任何站点的访问。
推荐的:(Recommended:)
- Windows 10提示(Tip):如何阻止 Internet 访问(Block Internet Access)
- 在Android 手机(Android Phone)上访问被阻止(Access Blocked)网站的5种方法(Ways)
- 如何修复 Android 屏幕无法旋转(Rotate)
- 修复 Microsoft Teams 不断(Fix Microsoft Teams Keeps)重启
互联网上充斥着危险和不适当的网站,它们正等待对您的PC 造成严重破坏并分散(PC and distract)您的工作注意力。但是,通过上述步骤,您应该能够应对这些挑战并将注意力集中在工作上。
我们希望本指南对您有所帮助,并且您能够阻止计算机、手机或网络上的任何网站(block any website on your computer, phone, or network)。如果您有任何进一步的疑问,请随时在下面的评论部分提出。
How to Block Any Website on Your Computer, Phone, or Network
The internet isn’t always the child-friendly, knowledgeable fаiryland that people make it out to be. For every sweet blog post, you come across, there is a dark and inappropriate website, lurking around the corner, waiting to attack your PC. If you arе tired оf being cautious all the time and want to get rid of shady sites on the internet, then here’s a guide on how to block any website on your computer, phone, or network.
How to Block Any Website on Your Computer, Phone, or Network
Why Should I Block Websites?
Website blocking has become an essential part of many organizations, schools, and even households. It is a tactic employed by parents and teachers to prevent children from accessing sites that are not appropriate for their age. In the professional workplace, access to certain websites is restricted to ensure that employees do not lose focus and work on their assignments in a distraction-free environment. No matter the cause, website monitoring is an important segment of the internet and by following the methods mentioned below you will be able to block any website, anywhere.
Method 1: Block Any Website on Windows 10
Windows 10 is a widely used operating system and is primarily found in schools and other organizations. Blocking websites on Windows is an easy process and users can do so without even opening the web browser.
1. On your Windows PC, log in through the administrator account and open the ‘This PC’ application.
2. Using the address bar on top, go to the following file location:
C:\Windows\System32\drivers\etc
3. In this folder, open the file titled ‘hosts.’ If Windows asks you to select an application to run the file, choose Notepad.
4. Your notepad file should look something like this.
5. To block a particular website, go to the bottom of the file and enter 127.0.0.1 followed by the name of the site you want to block. For instance, if you want to block Facebook, this is the code you will input: 127.0.0.1 https://www.facebook.com/
6. If you want to restrict more sites follow the same procedure and enter the code in the next line. Once you have made changes to the file, press Ctrl + S to save it.
Note: If you’re unable to save the file and get errors such as “access denied” then follow this guide.
7. Reboot your PC and you should be able to block any website on your Windows 10 computer.
Method 2: Block a Website on MacBook
The process of blocking a website on Mac is similar to the process in Windows.
1. On your MacBook, press F4 and search for the Terminal.
2. In the Nano text editor enter the following address:
sudo nano /private/etc/hosts.
Note: Type in your computer password if required.
3. In the ‘hosts’ file, enter 127.0.0.1 followed by the name of the website you want to block. Save the file and reboot your PC.
4. The particular website should be blocked.
Method 3: Block a Website on Chrome
In recent years, Google Chrome has almost become synonymous with the term web browser. The Google-based browser has revolutionized net surfing, making it easier to not only access new websites but also block suspicious ones. To bar access to websites on Chrome, you can use the BlockSite extension, a highly effective feature that gets the job done.
1. Open Google Chrome and install the BlockSite extension onto your browser.
2. Once the extension is installed, you will be redirected to the feature’s configuration page. During the initial setup, BlockSite will ask if you want to enable the automatic blocking feature. This will give the extension access to your internet usage patterns and history. If this sounds reasonable, you can click on “I Accept” and enable the feature.
3. On the main page of the extension, enter the name of the website you want to block in the empty text field. Once done, click on the green plus icon to complete the process.
4. Within BlockSite, you have various other features that will let you block specific categories of websites and create an internet plan to improve your focus. Additionally, you can program the extension to limit access to sites containing particular words or phrases, ensuring maximum security.
Note: The Google Chromebook runs on an interface similar to that of Chrome. Therefore, by using the BlockSite extension, you can bar websites on your Chromebook device as well.
Also Read: How to Block Websites on Chrome Mobile and Desktop
Method 4: Block Websites on Mozilla Firefox
Mozilla Firefox is another browser that has been widely popular among internet users. Luckily, the BlockSite extension is available on the Firefox browser as well. Head to the Firefox addons menu and search for BlockSite. Download and install the extension and following the steps mentioned above, to block any website of your choice.
Method 5: How to Block a Website on Safari
Safari is the default browser found in MacBooks and other Apple devices. While you can block any website on Mac by editing the ‘hosts’ file from Method 2, there are other methods that are more customizable and provide better results. One such application that helps you avoid distractions is SelfControl.
1. Download the application and launch it on your MacBook.
2. Click on ‘Edit Blacklist’ and enter the links of the sites you want to limit.
3. On the app, adjust the slider to determine the duration of restriction on the selected sites.
4. Then click on ‘Start’ and all the websites on your blacklist will be blocked in Safari.
Also Read: Blocked or Restricted Websites? Here is How to Access them for free
Method 6: Block a Website on Android
Due to its user-friendliness and customizability, Android devices have become an extremely popular choice for smartphone users. While you cannot manipulate your internet configuration through Android settings, you can download applications that will block websites for you.
1. Go to the Google Play Store and download the BlockSite application for Android.
2. Open the app and enable all permissions.
3. On the main interface of the app, tap on the green plus icon in the bottom right corner to add a website.
4. The app will give you the option to not only block sites but also restrict distractive applications on your device.
5. Select the apps and websites you want to restrict and tap on ‘Done’ in the top right corner.
6. You will be able to block any website on your Android Phone.
Method 7: Block Websites on iPhone & iPads
For Apple, user security and privacy are of the highest concern. To uphold this principle, the company introduces various features on its devices that make the iPhone more secure. Here’s how you can block websites directly through your iPhone settings:
1. Open the Settings app on your iPhone and tap on the ‘Screen Time’
2. Here, tap on ‘Content and Privacy Restrictions.’
3. On the next page, enable the toggle next to the Content & Privacy Restrictions option and then tap on Content Restrictions.
4. On the Content Restrictions page, scroll down and tap on ‘Web Content.’
5. Here, you can either limit adult websites or tap on ‘Allowed Websites Only’ to restrict internet access to a select few child-friendly websites.
6. To block a particular website, tap on ‘Limit Adult Websites. Then tap on ‘Add Website’ under the NEVER ALLOW column.
7. Once added, you will be able to restrict access to any site on your iPhone and iPad.
Recommended:
The internet is filled with dangerous and inappropriate websites that are waiting to wreak havoc on your PC and distract you from your work. However, with the steps mentioned above, you should be able to tackle these challenges and direct your focus towards your work.
We hope this guide was helpful and you were able to block any website on your computer, phone, or network. If you have any further queries, feel free to ask them in the comments section below.