|
|
#1 | ||
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 52
Karma: 55058
Join Date: Mar 2018
Location: Spain
Device: Kobo Glo HD
|
How to edit the CSS of libnickel.so.1.0.0?
I want to modify the appearance of the nickel web browser, and in order to do that I have extracted the CSS of the libnickel.so.1.0.0 file with pipcat's extract-css-libs tool.
After doing that, I have found the relevant bits of code I need to modify: Quote:
Quote:
After editing this file, how would one apply the desired modifications to the original file? Pipcat mentions doing it via a Metazoa patch. Could anyone explain to me how that would be done?
|
||
|
|
|
|
|
#2 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 52
Karma: 55058
Join Date: Mar 2018
Location: Spain
Device: Kobo Glo HD
|
Okay, nevermind. After some hours of reading I have found it myself. In order to modify the file you need to open it with an hex editor and you will find the relevant CSS code buried behind a lot of weird characters.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
You might want to look at the patching threads. That is one of the things that is being changed.
|
|
|
|
|
|
#4 | ||
|
I need a chapter break
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
Quote:
The code you post is from the file libnickel.so.1.0.0 and it's not compressed. There no compressed css strings in the file libnickel.so.1.0.0. Quote:
See this guide Patching compressed CSS strings. Last edited by oren64; 03-20-2018 at 08:03 AM. |
||
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Interesting strings in libnickel.so | geek1011 | Kobo Developer's Corner | 9 | 02-28-2017 11:06 AM |
| Is there a way to batch edit multiple epub css? | stevenam | ePub | 10 | 12-30-2016 04:40 AM |
| Touch libnickel.so with kiwix-serve modifications for firmware 3.19.5761 | cartel | Kobo Developer's Corner | 3 | 02-17-2016 09:19 AM |
| ebook-edit fails to merge css files | Ahmad Samir | Editor | 2 | 04-29-2014 02:57 AM |
| Compressed elements in libnickel.so | PeterT | Kobo Developer's Corner | 5 | 10-05-2013 06:21 PM |