![chrome启用插件](https://i-blog.csdnimg.cn/blog_migrate/15f69f2af31982a9c25003b630c829fd.png)
chrome启用插件
JavaScript is a de facto scripting language for web programming. JavaScript is used to create actions, validation, animation, and communication for web pages and web applications.
JavaScript是用于Web编程的事实上的脚本语言。 JavaScript用于为网页和Web应用程序创建动作,验证,动画和通信。
为什么要启用JavaScript? (Why Enable JavaScript?)
JavaScript is a very important technology for the web. Most of the web sites rely on JavaScript to work properly. Event the web pages can work without JavaScript this will be very limited and poor. By enabling JavaScript all features of the web site can be used like theme changing, actions, animations, applications logic, etc. If JavaScript is disabled, we can enable it easily on the Google Chrome browser.
JavaScript是网络上非常重要的技术。 大多数网站都依靠JavaScript正常运行。 如果网页可以在没有JavaScript的情况下运行,这将是非常有限和糟糕的。 通过启用JavaScript,可以使用网站的所有功能,例如主题更改,动作,动画,应用程序逻辑等。如果禁用了JavaScript,我们可以在Google Chrome浏览器中轻松启用它。
JavaScript gives the website owners the ability to run script and code inside our browsers. This can be a bit tricky and provide some security problems for harmfull web sites.
JavaScript使网站所有者能够在我们的浏览器中运行脚本和代码。 这可能会有些棘手,并为有害网站带来一些安全问题。
在Chrome中启用JavaScript (Enable JavaScript In Chrome)
JavaScript can be enabled from the “Settings” menu of the Chrome browser. We will open settings from the menu below. Alternatively we can use the following URL in order to access the JavaScript setting screen directly.
可以从Chrome浏览器的“设置”菜单中启用JavaScript。 我们将从下面的菜单中打开设置。 另外,我们可以使用以下URL来直接访问JavaScript设置屏幕。
chrome://settings/content/javascript
![](https://i-blog.csdnimg.cn/blog_migrate/f4b10393592157a4970a19c4ec5f87e9.png)
In the following settings screen, we will navigate to the “Privacy and security” section and click to the “Site Settings” like below. “Site Settings” configuration is related to all sites we are browsing not just a specific site.
在以下设置屏幕中,我们将导航至“隐私和安全性”部分,然后单击如下所示的“站点设置”。 “站点设置”配置与我们正在浏览的所有站点有关,而不仅仅是特定站点。
![](https://i-blog.csdnimg.cn/blog_migrate/55e8341ceb0c9221426bb99794e6a6ce.png)
There are different configuration on the site settings screen like “Camera”, “Notifications” and “JavaScript”. We will click to the “JavaScript” like below. Also the current status of the “JavaScript” is printed below where JavaScript is enabled.
网站设置屏幕上有不同的配置,例如“相机”,“通知”和“ JavaScript”。 我们将如下所示单击“ JavaScript”。 此外,在启用JavaScript的下方还会打印“ JavaScript”的当前状态。
![](https://i-blog.csdnimg.cn/blog_migrate/ccfff1288c4204b1bd9a4e2f5c5094d2.png)
In the following screen, we see that there are options like “Allow” “Block” etc. We will enable by sliding the “Allow(recommended)” configuration. We see that allowing JavaScript is recommended by GoogleChrome. “Block” and “Allow” sections are used to add specific sites to block or allow JavaScript.
在以下屏幕中,我们看到有诸如“允许”,“阻止”等选项。我们将通过滑动“允许(推荐)”配置来启用。 我们看到GoogleChrome建议允许JavaScript。 “阻止”和“允许”部分用于添加特定站点以阻止或允许JavaScript。
![](https://i-blog.csdnimg.cn/blog_migrate/828854d323889ea388fe83fac3a1c7bb.png)
在Chrome中为特定网站启用JavaScript (Enable JavaScript For Specific Websites In Chrome)
We can also allow JavaScript for specific sites. We will add the website URL we want to allow JavaScript from the “JavaScript” setting screen which is explained in previous step.
我们也可以允许特定网站使用JavaScript。 我们将从“ JavaScript”设置屏幕中添加我们想要允许JavaScript的网站URL,该步骤已在上一步中进行了说明。
![](https://i-blog.csdnimg.cn/blog_migrate/6269034ccc34fac02dfd4b35c91cff32.png)
We will see the “Add a site” box where we will put the web site URL. In this case we will enable the JavaScript for the “https://poftut.com”.
我们将看到“添加站点”框,其中将放置网站URL。 在这种情况下,我们将为“ https://poftut.com”启用JavaScript。
![](https://i-blog.csdnimg.cn/blog_migrate/ac84e96c5069d4f047cc67e1ef061b70.png)
We can see the newly added website address below the “Allow” section. We can also “Block”, “Edit”, “Remove” the web site easily by using menu like below.
我们可以在“允许”部分下方看到新添加的网站地址。 我们还可以使用以下菜单轻松地“阻止”,“编辑”,“删除”网站。
![](https://i-blog.csdnimg.cn/blog_migrate/6840a25150d4101ad48ec90d57446eaa.png)
翻译自: https://www.poftut.com/how-to-enable-javascript-in-google-chrome/
chrome启用插件