Fix "Lantern Proxy Configurator" Firefox extension
Lantern should remove the extension whenever it's not running.
Was:
Firefox has supported and defaulted to using system proxy settings like other browsers for several releases now, so we no longer need to install this extension on users' computers.
We built the extension after it was the default to account for the case where users change their settings.
We have no reason to ditch it (see above comment).
If you will keep a Firefox plugin, please embrace use good practices of extension design. It was a real bear to delete v1.0 of the Lantern Proxy Configurator when recently troubleshooting Firefox.
A user (I think in China) is reporting a similar experience to @ianschuler:
"Since Lantern is not working, I wanted to uninstall but found that its Firefox plugin "Latern Proxy Configurator" cannot be deleted. After deleting, it reappears after restarting Firefox. Can't find the plugin in the url. I deleted Firefox altogether, and reinstalled Firefox, but it is still there! What on earth have you the developers installed in my computer? What a malicious plugin! How can I completely delete it? Thanks!"
@myleshorton Should we open new ticket(s) to "use Firefox add-on development best practices" / "make Firefox add-on easier to uninstall", or should we just reopen this ticket and get rid of it?
The reason it exists is simply to ensure that FireFox uses the system proxy settings when Lantern is running. Firefox is unique in not just using the system proxy settings always, and without the extension particularly users who use different circumvention tools would likely perceive Lantern as completely broken in many cases.
Newer Firefox versions have the same behavior as all older ones.
We could be less aggressive about always re-installing it, or we could just let users fend for themselves, but it's there for a reason!
On Dec 19, 2013, at 8:08 PM, skivvies [email protected] wrote:
A user (I think in China) is reporting a similar experience to @ianschuler:
"Since Lantern is not working, I wanted to uninstall but found that its Firefox plugin "Latern Proxy Configurator" cannot be deleted. After deleting, it reappears after restarting Firefox. Can't find the plugin in the url. I deleted Firefox altogether, and reinstalled Firefox, but it is still there! What on earth have you the developers installed in my computer? What a malicious plugin! How can I completely delete it? Thanks!"
@myleshorton Should we open new ticket(s) to "use Firefox add-on development best practices" / "make Firefox add-on easier to uninstall", or should we just reopen this ticket and get rid of it?
— Reply to this email directly or view it on GitHub.
Interesting - I learned something new.
There is a fair reason for this extension to exist as long as Lantern is installed. There is no reason for it to stick around after Lantern has been uninstalled.
In either case, users should be able to remove it. I think if a user removes something called "Lantern Proxy Configurator" from Firefox, it should come as no surprise that Lantern stops working in Firefox. I don't think hijacking everyone's browser to prevent a few users from shooting themselves in the foot is acceptable etiquette.
A compromise might be that Lantern checks for the Firefox extension and possibly installs it whenever it boots (possibly warning the user and asking for their confirmation). If that is not practical (I don't think the problem merits all that), the extension should only be installed on Lantern install.
+1.
In the meantime, could you please explain how to uninstall it for existing users who want it gone, @myleshorton?
So first off it's again just there in an effort to solve the problem at hand, but clearly we can improve it.
A compromise might be that Lantern checks for the Firefox extension and possibly installs it whenever it boots
Yeah that's exactly what it does but doesn't prompt the user every time. When Lantern's not running, the extension is designed to automatically do nothing, although it's possible we broke that at some point. We could also take this further and automatically remove it every time Lantern exits, which would be pretty easy and with the only downside being that it would rely on a clean exit.
In the meantime, could you please explain how to uninstall it for existing users who want it gone, @myleshorton?
Yeah the real problem there is related to the above -- every time you try to uninstall it, Lantern will just put it back the next time it runs! Hehe.
Devilish! I think there's still the lingering issue @ianschuler mentioned though of following best practices in installing the extension. I think currently the way we're installing it is making it so there's no "Remove" button on the add-ons manager, which clearly upsets users:

Anyway, sounds like you do want to leave this ticket as WONTFIX and open a new one for changing install/reinstall behavior: opened #1268 (needs triage though)
Oh, didn't realize you'd renamed this from ditch "Lantern Proxy Configurator" firefox extension to Improve "Lantern Proxy Configurator" firefox extension after you reopened, sorry. Renaming back just for sanity.
Reopening as per discussion on lantern-devel
Any one can help me with the firefox extension "Lantern Proxy Configurator v1.0" removing. It is really annoying that I can't delete it while Lantern was uninstalled. PS, I've tried searching out both the firefox install directory and profile directory, no luck for that. The only thing I can google out is this thread, so please can any one help me out? Thanks very much.
@FrogManBear Sorry for the long delay in replying, and that this is causing such annoyance for you. Unfortunately, the current implementation of Lantern will re-install the Firefox extension every time it is run; this assures that Firefox will not blow away the proxy settings that are important to the proper functioning of Firefox with Lantern in "get" mode.
However, @myleshorton and I are a bit confused and want to confirm: are you not able to remove the extension even after uninstalling Lantern? If so, that is surprising and something we definitely want to investigate further.
Also, we are interested to know (if you're comfortable sharing): are/were you running Lantern in Give or Get mode?
Thanks for the feedback and sorry again for the long delay in the reply!
@scouttle Thanks for your reply.
- Yes, I couldn't remove the extension even after uninstalling Lantern from the control panel.
- I ran Lantern in Get mode, and I'm using Firefox nightly if you are interested. Per my situation: I finally managed a way out by manually locating and removing the extension files(I guess) in AppData folder in my windows account folder. That's a different place to the other extensions, they are usually located in Firefox profile folder. It's a little bit wired though. Anyway, thanks for your reply.
Same problems here. I've uninstalled Lantern, but can't remove the extension. I ran Lantern in Get mode, too.
Mac OSX here. I can't find the AppData folder or something like that. Anyone can help me please. @myleshorton @scouttle @FrogManBear @skivvies
Hey @vcarus sorry for the delayed reply, but you can remove it manually from here:
/Users/your_user_name/Library/Application Support/Mozilla/Extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}
@myleshorton Thanks for your reply.
I went to the about:config page of firefox and searched the key word lantern. 2 things found, and manually removed. Done.
Great @vcarus! Yeah that's probably the easier route =).