Dagger0 / IPvFox

Firefox extension to list the hosts, and corresponding IPs, from which a page and its resources are loaded.
https://addons.mozilla.org/en-US/firefox/addon/ipvfox/
19 stars 8 forks source link

Ipvfox for android firefox #15

Open laptander opened 9 years ago

laptander commented 9 years ago

It is feature request. Can you make this useful plugin installable for mobile firefox too? Android's firefox also uses xpi format. But when I try to install it, it says that it cannot be installed due to it is not compatible with Firefox 38.0.5

Dagger0 commented 9 years ago

Would be nice, but I don't have an Android phone and I've never used mobile Firefox.

The Android Firefox UI is written in Java and isn't manipulatable by extensions, so the existing urlbar icon with panel UI won't work. I'd need to write something new, but I'm not even sure what options are available to Android Firefox extensions that would work for this one.

laptander commented 9 years ago

Maybe previously it was possible, because I have found some pictures of android's firefox: http://i.kinja-img.com/gawker-media/image/upload/s--5Z2o9liB--/1036294910750566547.png https://lh6.ggpht.com/QzUQcLfqY64ZYXaKtWRrRL4-yivuiAhCg3nMS7XrgL6DuMoR2avimy21MVR6Ge5GVkU=h900 Maybe it is not firefox, but ghostery browser. For now Ghostery extension for android's firefox adds transparent icon to the right bottom corner and displays number of tracking systems (sorry, I did not found screenshot).

So maybe learn ghostery's code and find out how they did it.

Dagger0 commented 9 years ago

Overlaying an icon in the corner of the page sounds like they're modifying the page itself; I'm not going to do that. And all bets are off if they're using a custom browser, of course. Current Ghostery seems to just add a menu entry: https://addons.mozilla.org/en-us/firefox/files/browse/312088/file/resources/ghostery/lib/ui/mobile/menu.js

I know there's this thing: https://developer.mozilla.org/en-US/Add-ons/Firefox_for_Android/API/PageActions.jsm but I'm not sure how well it'll handle an icon that's constantly updated.