Skip to main content

如何在Chrome的穩定和Beta渠道中重新啟用非網絡商店擴展程序?

如何在Chrome的穩定和Beta渠道中重新啟用非網絡商店擴展程序?

Geoffrey Carr

Google最近對Chrome的穩定和測試版渠道進行了重大更改,該渠道禁用了任何未來自網上商店的擴展程序。雖然這有助於提高Chrome用戶的安全性,但擁有合法非網絡商店擴展程序的用戶如何才能再次使用它?

今天的問答環節由SuperUser提供,這是Stack Exchange的一個細分,Stack Exchange是一個社區驅動的問答網站分組。

問題

超級用戶讀者AardVark71正在尋找一種在Chrome 35中重新啟用其擴展和腳本的方法:

Does anybody know how to re-enable your own extensions after they were disabled by the Chrome 35 update? It is mainly Greasemonkey scripts in my case, thus simple .js files previously dragged-and-dropped into the extension windows.

When I started Chrome up today, I got a warning that some non-Chrome Web Store extensions were disabled.

More info was giving on this link:

—————————————————

Extensions Disabled by Chrome

You are seeing this notification because one or more of your Chrome extensions have been turned off to make Chrome safer. The extensions did not come from the Chrome Web Store or were installed without your permission.

For your protection, you can only use Chrome extensions that you get from the Chrome Web Store.

To see a list of your extensions:

1. Click the Chrome menu Chrome menu on the browser toolbar.

2. Select Tools.

3. Select Extensions.

Extensions that have been disabled are grayed out and you will not be able to re-enable them.

—————————————————

I was hoping that I could still enable them by activating developer mode for my extensions, but still no luck. Any tips anyone?

P.S. This is not a duplicate from Activating a Chrome extension that is not from the Chrome Web Store. This is specifically related to the Chrome 35 update.

AardVark71是否可以嘗試重新啟用其擴展和腳本?

答案

超級用戶貢獻者Fazer87和Braiam為我們提供了答案。首先,Fazer87:

There are really only a couple of options open to you since the ability to run non-web store extensions has been programmatically disabled. There are no plans to re-enable it (or at least none made public).

You can try installing releases from the Developer or Canary channels which may allow you to continue using these extensions (as mentioned in Google Chrome help forum):

—————————————————

What if I want to run non-web store extensions?

Advanced users can continue to use our Dev & Canary channels to run any extension. Please note that these channels are updated very regularly, and may contain features and bug fixes that are actively being developed.

—————————————————

Alternatively, I have heard that quite a few people install the Tampermonkey extension which allows them to run user scripts. Might be worth a look.

接下來是Braiam的回答:

You can not re-enable them. You need to work around this issue using any of the following alternatives (I will list them by grade of difficulty).

Developer Mode Route

1. Download the crx file and unpack the extension using your favorite decompresser. Take note of the directory where you placed it.

2. Open the extension page and activate “Developer Mode”.

3. Click “Load unpacked extension…”

4. Search through your directory tree for the location where you unpacked your extension and click OK. If your extension is called “my extension”, then select the “my extension” directory.

Advantages: You do not have to install anything else.

Disadvantages: Chrome nags you to disable the extension every time you start it up.

Moving from the Release Channel

Install the Developer or Canary channel versions of Chrome. Just go to the corresponding links and install the browser. Note that the Canary version will install a parallel version of Chrome, which will be independent.

Advantages: No nagging. You get all the newest features earlier.

Disadvantages: You also get all the bugs earlier. Installing Canary effectively uses double the disk space versus a single installation of Chrome, and you also have to migrate all your extensions over.

Install a Chromium-Based Browser

Since Chromium is open source, there are several forks of the project. I am not sure if Chromium has the restriction in place, but other projects may not.

Moving from Windows Altogether

This restriction is put in place only for Windows due security concerns with the OS. Mac and Linux builds are not affected. You could give any Linux distribution a try.

The “Developer Mode Route” is courtesy of capetoide in the AllMangasReader Forum.

雖然不是完美的解決方案,但這些方法可以幫助您恢復瀏覽所有擴展或腳本的完整和有效。


有什麼要補充說明嗎?在評論中發聲。想要從其他精通技術的Stack Exchange用戶那裡閱讀更多答案嗎?在這裡查看完整的討論主題。

Link
Plus
Send
Send
Pin