Quote
cpm1a_new
off-topic, just not to start a new one. i would like to get your expert opinion/treatment
Oops... if you don't write a new post, and there are no other new posting either yet, no one will notice that you edited your last one! :O
And would be great if I were an expert, and strongly wish at least there were others around I could ask myself for tips, but no luck. So am just struggling along like you too, trying to self-help, just collecting a bit spotty knowledge here and there. Just perhaps since a longer time already ;-) (regarding all those years, I should actually be long since an expert, the prob is just that stuff is so complicated and especially JS so alien to my natural logical thinking, that I keep forgetting it again after a few days ;-)
Quote
cpm1a_new
i have absolutely no knoledge of CSS, so i just changed colors, not touching anything else. works imho pretty decent, as it doesn't hide too many images on web pages. any improvements are welcome
If you want to style all pages completely yourself, that's a very complicated project, and often makes things worse instead of better. There are already several projects of that sort around, FF addons like readability and lots of userstyles for FF, which probably can be used in userContent.css too. I've tried those a bit in the past, but found just too many probs. Since then am just taking the easy road out: keeping the original styles, to not miss anything if possible. If that's causing any probs, usually due to my very old KM-version, am just toggling all original stylesheets off, which on most pages works wonders (not always prettier, but readable and working) If there are still layout probs, and if it's an important site to me, will poke around in the source code and try to find little rules just for that site, to add in adblock.css, example:
/* --------- PM forum ---------
linked images are hidden behind a "Show" button, which needs JS
https://forum.palemoon.org/viewtopic.php?t=17764
*/
@-moz-document domain(forum.palemoon.org) {
div.alt2 > div {display: inline !important; padding: 0px !important; }
}
(That's a very short one, have also highly complicated ones, but with your newer engine you won't need those)
Did you know you can
define styles only for certain domains? Or similar, for all urls starting with "url-prefix... " etc.? Took me years to discover myself. So much stuff that works but just no clue it exists
If still too many probs on a site, may even fiddle to create little userscripts for that site - which is yet more complicated as CSS, requiring some JS experience (or in my case: lots of previously collected js-snippets as example, or finding new ones around the web, or, sigh, struggle endlessly to find a solution myself) But one of those JS-snippets (created earlier) now just allowed me to get your file downloaded from googledrives, without JS, after seeing only a blank page first - yay!
But that's of course just my personally preferred method, and of course requires too an awful lot of learning.
Quote
cpm1a_new
it doesn't change the colors of KM's chrome://history/content/history.xul. not a big prob really, i can live with this. but still, can it be fixed?
Not sure about KM7x, but try this:
create a file "userChrome.css" in the same folder as adblock, make its format UFT-8, and restart.
That file is a native Firefox function too, search the web for examples. Just keep in mind that in KM it's not possible to style buttons and toolbars with it, which are NOT xul but native window style. But for opening xul-files it should work. Have once tried this in KM1.6 and worked to style all my F2 sheets in red:
/* ----- DO NOT EDIT ANYTHING ABOVE THIS LINE -------------------------------------------- */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
* { color: red ;}
/* ----- DO NOT EDIT ANYTHING BELOW THIS LINE -------------------------------------------- */
PS: check the semicolon at the beginning of line 39?
PS2: you have 2 accounts, did you see John's post?
Quote
JohnHell
Off-topic: if you have troubles with your old account, I can set and send you a new password.
Edited 2 time(s). Last edit at 08/14/2019 08:36AM by siria.