12

Chrome アプリケーションを作成しました。ユーザーがそれを Chrome ブラウザに追加すると、インストールの一部としてフォームが開かれます。インストールがうまくいかない場合に、追加した拡張機能を削除したい。

Chrome 拡張機能の削除をトリガーするにはどうすればよいですか?

4

3 に答える 3

2

コマンドラインから、コマンドラインのみから、または遠く離れた別のシステムから完全にこれを行う必要があるとしましょう。どういうわけか、その状況は人々に起こり続けます.理由は想像できません.

私の場合、実際に開くのを妨げている拡張機能に遭遇しましたchrome://extensions。OO

これは、このページの他の回答のほとんどを、真剣に前もって考えないと使用できないことを意味していました.

とにかく、あなたが古き良き bash、zsh、ncurses などに限定されている不運な人々の 1 人である場合は、次のようなものが出発点として役立つかもしれません。

I just used the following method to ditch an evil extension in Chromium Version 51.0.2704.79 on an Ubuntu 14.04 (64-bit) system: 
% sudo add-apt-repository ppa:pgolm/the-silver-searcher
% sudo apt-get update
% sudo apt-get install the-silver-searcher  ## Add a searcher tool
% cd ~/.config/chromium/Default/Extensions  ## Go to the default folder for Chromium Extensions.
% ls -rolath  ## List the contents in order of most recently modified.
total 16K
drwx------  3 fu 4.0K Sep  4 20:45 gcbombkclmclpchdgiimedpiimgmedia
drwx------  3 fu 4.0K Sep  4 20:45 bilkyoucmkafdfolokijcfjliaokphfk
drwx------  3 fu 4.0K Sep  5 13:56 leniggcoacklhapakkkcpdbppfkghcmi
drwx------  3 fu 4.0K Sep  5 14:37 fvuckkukegcagdloljackdonpwnmedph
%  ## Looks like we have two suspicious candidates, here, to possibly delete. 
% aptitude search silversearcher ; aptitude install silversearcher-ag ## - very fast grep-like program, altenative to ack-grep
% ag --literal "adclick" ; ag --literal "_trackPageview" ; ag --literal "hijack" ## Etc. I did a bunch of 
     ## separate little searches 
     ## until I found the item that 
     ## looked like it was installed 
     ## most recently and had the 
     ## most suspicious keywords. 
% ag --literal '"version": "' | grep leniggcoacklhapakkkcpdbppfkghcmi  
    ## The above line finds the versions 
    ## of the extension to which I took offense.
% rm -rf leniggcoacklhapakkkcpdbppfkghcmi  
    ## Remove the files for the extension 
    ## to which I took offense.

それから Chromium を起動し、喜んで私の chrome://extensions リンクに行き、最近インストールされたいくつかの拡張機能のバージョン情報を見て、それらを から見つけた出力と比較し、ag --literal '"version": "' | grep leniggcoacklhapakkkcpdbppfkghcmiその拡張機能の横にある小さなゴミ箱ボタンをクリックしました.

とうとう喜び

それがあなたにいくつかのアイデアを与えることを願っています。それは私のために働いた。私は主に当て推量とhttp://duckduckgo.comでの検索によってそれを見つけました。結果は異なる場合がありますが、これは良いことです。

于 2016-09-05T22:11:16.363 に答える