Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 03-10-2018, 11:33 PM   #1
nicolas161
Enthusiast
nicolas161 turned on, tuned in, and dropped out.nicolas161 turned on, tuned in, and dropped out.nicolas161 turned on, tuned in, and dropped out.nicolas161 turned on, tuned in, and dropped out.nicolas161 turned on, tuned in, and dropped out.nicolas161 turned on, tuned in, and dropped out.nicolas161 turned on, tuned in, and dropped out.nicolas161 turned on, tuned in, and dropped out.nicolas161 turned on, tuned in, and dropped out.nicolas161 turned on, tuned in, and dropped out.nicolas161 turned on, tuned in, and dropped out.
 
Posts: 27
Karma: 35026
Join Date: Jun 2014
Device: Kobo Glo HD
Ad blocker for Kobo web browser

I have lurked the mobileread forums for years, and I have found very useful information. Now it's time to try to give something back to the community, although really simple.

This needs testing, but in theory it works.

What this does is install a custom hosts file on the memory of the reader that blocks undesired domains and ads, making the web a bit faster. The hosts file is taken from a famous Github repository here: https://raw.githubusercontent.com/St...s/master/hosts

In order to install this, you only need to download the adblock.zip file and unzip it, copying the resulting KoboRoot.tgz file to your .kobo folder and let the thing do the work for you. It is really quick. Once this is done, this should block all undesired advertising when you browse the web with your Kobo.

It needs some testing to make sure that it works, but since I haven't seen any ad since I installed it, it seems that it works fine.

Please tell me if it works for you, and sorry for the bad English.

Attached Files
File Type: zip adblock.zip (416.3 KB, 718 views)

Last edited by nicolas161; 03-10-2018 at 11:42 PM.
nicolas161 is offline   Reply With Quote
Old 07-19-2018, 12:29 AM   #2
Nemo1984
Connoisseur
Nemo1984 began at the beginning.
 
Posts: 92
Karma: 10
Join Date: Jan 2017
Device: Kobo Glo HD
Quote:
Originally Posted by nicolas161 View Post
I have lurked the mobileread forums for years, and I have found very useful information. Now it's time to try to give something back to the community, although really simple.

This needs testing, but in theory it works.

What this does is install a custom hosts file on the memory of the reader that blocks undesired domains and ads, making the web a bit faster. The hosts file is taken from a famous Github repository here: https://raw.githubusercontent.com/St...s/master/hosts

In order to install this, you only need to download the adblock.zip file and unzip it, copying the resulting KoboRoot.tgz file to your .kobo folder and let the thing do the work for you. It is really quick. Once this is done, this should block all undesired advertising when you browse the web with your Kobo.

It needs some testing to make sure that it works, but since I haven't seen any ad since I installed it, it seems that it works fine.

Please tell me if it works for you, and sorry for the bad English.

It works for me. At least it seems! Thank you very much for this!
Nemo1984 is offline   Reply With Quote
Old 06-01-2024, 09:19 AM   #3
Freewheelin
Junior Member
Freewheelin began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2024
Device: Kobo Clara HD
Hi just came across this! Thanks for making it. Would this patch persist on the Kobo device across firmware updates?
Freewheelin is offline   Reply With Quote
Old 06-01-2024, 11:05 AM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,777
Karma: 131375596
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by nicolas161 View Post
I have lurked the mobileread forums for years, and I have found very useful information. Now it's time to try to give something back to the community, although really simple.

This needs testing, but in theory it works.

What this does is install a custom hosts file on the memory of the reader that blocks undesired domains and ads, making the web a bit faster. The hosts file is taken from a famous Github repository here: https://raw.githubusercontent.com/St...s/master/hosts

In order to install this, you only need to download the adblock.zip file and unzip it, copying the resulting KoboRoot.tgz file to your .kobo folder and let the thing do the work for you. It is really quick. Once this is done, this should block all undesired advertising when you browse the web with your Kobo.

It needs some testing to make sure that it works, but since I haven't seen any ad since I installed it, it seems that it works fine.

Please tell me if it works for you, and sorry for the bad English.

Is there a setting to turn it off for when it needs to be off?
JSWolf is offline   Reply With Quote
Old 06-01-2024, 04:40 PM   #5
Aleron Ives
Wizard
Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.
 
Posts: 1,205
Karma: 15499948
Join Date: Sep 2022
Device: Kobo Libra 2
Quote:
Originally Posted by Freewheelin View Post
Would this patch persist on the Kobo device across firmware updates?
Kobo doesn't usually include a hosts file with firmware updates, so yes it should persist.
Aleron Ives is offline   Reply With Quote
Old 06-19-2024, 07:41 AM   #6
Freewheelin
Junior Member
Freewheelin began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2024
Device: Kobo Clara HD
How might we edit the hosts file? I unzipped KoboRoot.tar and got the etc folder containing the hosts file. If I were to edit the hosts file and repackage it as KoboRoot.tar would that work?

I kind of thought, being the noob I am, that KoboRoot.tar would have loads of other files from the Kobo OS in it

Thanks
Freewheelin is offline   Reply With Quote
Old 06-19-2024, 12:45 PM   #7
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 37,182
Karma: 148321048
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
The KoboRoot.tgz file can contain as few as 1 file or as many as the thousands you find in a firmware update.

For instance, I took the existing adblock.zip, opened it in 7-Zip, deleted the hosts file, copied the hosts file (2024-Jun-17 version) from the link in the original message and saved it. This took a few seconds and the file size more than doubled.
Attached Files
File Type: zip adblock.zip (1.05 MB, 12 views)

Last edited by DNSB; 06-19-2024 at 12:51 PM.
DNSB is offline   Reply With Quote
Old 06-19-2024, 01:00 PM   #8
Freewheelin
Junior Member
Freewheelin began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2024
Device: Kobo Clara HD
Quote:
Originally Posted by DNSB View Post
The KoboRoot.tgz file can contain as few as 1 file or as many as the thousands you find in a firmware update.

For instance, I took the existing adblock.zip, opened it in 7-Zip, deleted the hosts file, copied the hosts file (2024-Jun-17 version) from the link in the original message and saved it. This took a few seconds and the file size more than doubled.
Ah I see, thank you - KoboRoot.tgz is making more sense now. So when you saved it you were just rezipping the etc folder as a .tgz file?
Freewheelin is offline   Reply With Quote
Old 06-19-2024, 02:29 PM   #9
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 37,182
Karma: 148321048
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Freewheelin View Post
Ah I see, thank you - KoboRoot.tgz is making more sense now. So when you saved it you were just rezipping the etc folder as a .tgz file?
Yes. One of the reasons that I like 7-Zip is it's ability to handle multiple archive formats.
DNSB is offline   Reply With Quote
Old 06-19-2024, 02:42 PM   #10
Freewheelin
Junior Member
Freewheelin began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2024
Device: Kobo Clara HD
Quote:
Originally Posted by DNSB View Post
Yes. One of the reasons that I like 7-Zip is it's ability to handle multiple archive formats.
Ah cool! Thanks so much
Freewheelin is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a better Web Browser for Kobo touch devices than the Kobo default? SJC-Caron Kobo Developer's Corner 6 03-27-2017 10:47 AM
Glo Kobo Glo HD web browser BrianR Kobo Reader 10 01-25-2016 12:13 AM
Kobo web browser and Calibre dcpyke Kobo Reader 4 06-08-2015 09:22 PM
Touch kobo touch has a web browser wes101 Kobo Reader 43 02-13-2014 02:00 AM
Glo kobo glo web browser? mystika1 Kobo Reader 11 11-23-2012 12:07 PM


All times are GMT -4. The time now is 02:54 AM.


MobileRead.com is a privately owned, operated and funded community.