Hi,
I'm trying to create a version of chromium that shows no images (for saving network bandwith)
I downloaded the chromium source code for android, I'm trying to find a way to block all images (in the web pages) but i can't seem to figure out where to to it.
Any help will be highly appreciated
Thanks
Avi
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/1dca64b6-d30c-49cc-ba8a-552c12e09229%40chromium.org.
The most hard coded way would probably be to change it here -To set it to FALSE instead of taking it from the prefs.Does that work?
☆PhistucK
On Wed, Apr 26, 2017 at 11:10 PM, אבי וזהו <avi...@gmail.com> wrote:
Hi,
I'm trying to create a version of chromium that shows no images (for saving network bandwith)
I downloaded the chromium source code for android, I'm trying to find a way to block all images (in the web pages) but i can't seem to figure out where to to it.
Any help will be highly appreciated
Thanks
Avi
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/44bdcd84-f257-4b3d-b14a-fc796a5748ec%40chromium.org.
The most hard coded way would probably be to change it here -To set it to FALSE instead of taking it from the prefs.Does that work?
☆PhistucK
On Wed, Apr 26, 2017 at 11:10 PM, אבי וזהו <avi...@gmail.com> wrote:
Hi,
I'm trying to create a version of chromium that shows no images (for saving network bandwith)
I downloaded the chromium source code for android, I'm trying to find a way to block all images (in the web pages) but i can't seem to figure out where to to it.
Any help will be highly appreciated
Thanks
Avi
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/6e0d9c29-b1ce-494f-99fc-2240a511f6fa%40chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/5ca5f803-31f2-429e-8ea0-a05df9477a9b%40chromium.org.
Runnable r = new Runnable() {
@Override
public void run() {
PrefServiceBridge.getInstance().setImagesEnabled(false);
}
};
And if id doesn't match i set it to true.
The problem is that the images get disabled only after refreshing the page twice.
What would be the best way to perform the URL check and to make sure that on specific websites no images will be displayed.
Thanks a lot
Avi