Zero Bock on Challenges... ©UdoSm
An Amicable Advent!
... der Nikolaus war da - meine Stiefel sind gefül…
On a tous quelque chose de Johnny Hallyday.
Me - November 2017
Newsflash Dec. 09, 2017 / 9. Dec. 2017
IMA Christmas Offer
already tired ;-))
A fence for eternity
pâtes alphabet de l'enfance
rosa di maggio
Merry Christmas
1-2017-11-29
Happy new year
Bright Blessings & A Peaceful New Year !
Happy Hogmanay,
Happy New Year !
Ending with a rainb0w
Bye bye 2017 (with vegetarian fireworks)
Monte Gordo, Feliz 2018
On the verge of 2017 -> 2018
HNY
Gemeinsam
Bon Vendredi à vous .....!
Share private photo, album or article
Der Chef(sessel) nach der Reorganisation
end of a season
Cette Rose pour vous souhaiter un bon we ensoleill…
IMA NEWSFLASH Oct 13, 2017 / 13. Okt. 2017
How social you are?
Tür ist offen....
Diversity of life
Let's celebrate with a kiss
IMA NEWSFLASH Sept 29, 2017 / 29. Sept. 2017
A Junk Yard Dog – Main Street, Jerome, Arizona
A la santé de IMA !
Latest news ....
Jess
N° 2 https://www.ipernity.com/blog/team/4678588
Welcome Autumn 2017
SPAM
Bon Lundi à vous qui passez !
yellow silk
IMA Newsflash Sept. 15th, 2017
Thurston the Great Magician – New State Motor Com…
See also...
Authorizations, license
-
Visible by: Everyone -
Free use
-
391 visits
DARK SKIN FOR IPERNITY
Pushing up an old post of mine. Options to change the page colors on client side have been possible for years. One only have to know how. Some of them are easy, some requires little effort.
Stylish
Various dark skins for ipernity available here: userstyles.org/styles/browse?search_terms=ipernity&type=false
You need to install Stylish extension to use it: userstyles.org/help/stylish
My version of these provides also an option to get rid of the z.gif: www.ipernity.com/blog/serola/4716848
And if you know how, you can make a skin of your own, even a pink one if you like. But I warn you that it is extremely complicated. Most of the current dark skins are based on the hard ground work done by Spotomy: www.ipernity.com/blog/spo/4655884
Dark Reader
Available here: darkreader.org
I have not yet tested this, and therefore I really can't guarantee how reliable it is.
I am using Dark Reader now on Chrome, and already default settings, are treat for my eyes! Just the right contrast =)
Please notice you can set web site specific exceptions on Dark Reader.
Moreover, Isabel (Xata) has reported that Dark Reader works even on iPhone and iPad (Safari).
Although, it is advised to disable all other similar tools on Dark Reader pages, it still may work for example together with Stylish. So, if you wish to use Stylish instead on some web site, then add that web site as and exception on Dark Reader, and use the Stylish style instead.
Tampermonkey
Get Tampermonkey: www.tampermonkey.net
See the comment by Marta.
Stylish
Various dark skins for ipernity available here: userstyles.org/styles/browse?search_terms=ipernity&type=false
You need to install Stylish extension to use it: userstyles.org/help/stylish
My version of these provides also an option to get rid of the z.gif: www.ipernity.com/blog/serola/4716848
And if you know how, you can make a skin of your own, even a pink one if you like. But I warn you that it is extremely complicated. Most of the current dark skins are based on the hard ground work done by Spotomy: www.ipernity.com/blog/spo/4655884
Dark Reader
Available here: darkreader.org
I am using Dark Reader now on Chrome, and already default settings, are treat for my eyes! Just the right contrast =)
Please notice you can set web site specific exceptions on Dark Reader.
Moreover, Isabel (Xata) has reported that Dark Reader works even on iPhone and iPad (Safari).
Although, it is advised to disable all other similar tools on Dark Reader pages, it still may work for example together with Stylish. So, if you wish to use Stylish instead on some web site, then add that web site as and exception on Dark Reader, and use the Stylish style instead.
Tampermonkey
Get Tampermonkey: www.tampermonkey.net
See the comment by Marta.
raingirl, Erhard Bernstein, Leon_Vienna, Berny and 7 other people have particularly liked this photo
- Keyboard shortcuts:
Jump to top
RSS feed- Latest comments - Subscribe to the comment feeds of this photo
- ipernity © 2007-2024
- Help & Contact
|
Club news
|
About ipernity
|
History |
ipernity Club & Prices |
Guide of good conduct
Donate | Group guidelines | Privacy policy | Terms of use | Statutes | In memoria -
Facebook
Twitter
And many thanks to Spotomy, who created it!
Sami Serola (inactiv… club has replied to Bergfex clubIt only works in Firefox ?
Sami Serola (inactiv… club has replied to Heidiho clubSami Serola (inactiv… club has replied to Heidiho clubSami Serola (inactiv… club has replied to Marta Wojtkowska clubHowever, I just tested Dark Reader, and I must say it is much easier solution! =O
Marta Wojtkowska club has replied to Sami Serola (inactiv… clubBut is there something similar but doing just the opposite?
There are two websites that I visit every day (have to to stay in tune with my business environment) and they are dark (dark background, light print). My eyes are aching because of it.
You may call it anomaly, but that's what my eyes need: black ink on paper, not the other way around.
Sami Serola (inactiv… club has replied to Marta Wojtkowska clubMoreover, you can use the sliders to adjust the features for your taste.
Marta Wojtkowska club has replied to Sami Serola (inactiv… clubCan you try this page for me
zaufanatrzeciastrona.pl
and tell me what can be done there?
It's in Polish but it does not matter ;)
Sami Serola (inactiv… club has replied to Marta Wojtkowska clubDo you have some other extension running that does the same? Dark Reader may conflict with that.
Marta Wojtkowska club has replied to Sami Serola (inactiv… clubNo, I do not have any other extensions running at the moment.
Sami Serola (inactiv… club has replied to Marta Wojtkowska clubHowever, I discovered that Dark Reader may work with Stylish after all. So, first disable zaufanatrzeciastrona.pl on Dark Reader, and then try this: userstyles.org/styles/148520/zaufana3strona-kmdark
I do remember you said that you ain't have Stylish at the moment. But that is one option...
Marta Wojtkowska club has replied to Sami Serola (inactiv… clubBut I found another one:
userstyles.org/styles/105437/zaufana-trzecia-strona-czarno-na-bia-ym
and it works for me! Hooray!
It works with Tampermonkey too :) Hooray, hooray!!!
Thank you so much for putting me on the right track :)
Sami Serola (inactiv… club has replied to Marta Wojtkowska clubMarta Wojtkowska club has replied to Sami Serola (inactiv… clubThere is something in its syntax that Tampermonkey doesn't like...
[Update]
I've included four headers in your script
// @include ipernity.com/*
// @include ipernity.com/*
// @include *.ipernity.com/*
// @include *.ipernity.com/*
and now it works with Tampermonkey like charm :)
I've also added a '{' at the end of line No 21 and a '}' after the second 'join' to get rid of the warning given me by Tampermonkey (but it worked without the brackets too).
Sami Serola (inactiv… club has replied to Marta Wojtkowska clubI barely manage to get those styles of mine, based on Spotomy's work, to function with Stylish. I had no idea how to make them work with Tampermonkey.
And thanks for noticing that error on line 21. I have a look if it requires fixing in general.
Sami Serola (inactiv… club has addedMarta Wojtkowska club has replied to Sami Serola (inactiv… clubYour line No 16 starts an if.
Like in
if (a_condition)
a_very_long_statement
Classic javascript needed curly brackets (braces) even if a_very_long_statement was a single one (yours is).
Like in
if (a_condition) {
a_very_long_statement
}
Maybe the syntax does not need it, but Mozilla says that it is a good practice to always use block statements.
See developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/if...else#Syntax
So in this particular case omitting the braces is not an error per se because the script is parsed and processed correctly. Tampermonkey gives a warning to make a developer aware of a potential issue. And I am so old-school that I can't help removing all warnings that I can remove. Oh... forget it, please.
Once again, I am sorry for the confusion...
Sami Serola (inactiv… club has replied to Marta Wojtkowska clubI thought you were talking about one of these CSS files:
userstyles.org/styles/browse?search_terms=ipernity&type=false
Which should not contain any javascript. So, is there some error on one of the ipernity javascripts?
But no worries. If it works, then that is good enough =)
Marta Wojtkowska club has replied to Sami Serola (inactiv… clubFrom that moment
www.ipernity.com/doc/serola/45923990/comment/59312136#comment59312136
I was talking about one of these CSS files:
userstyles.org/styles/browse?search_terms=ipernity&type=false
namely this one
userstyles.org/styles/154372/ipernity-dark-style-2018-v1-0
But instead of installing it with Stylish I grabbed the link to the userscript file:
userstyles.org/styles/userjs/154372/ipernity-dark-style-2018-v1-0.user.js
and 'installed' it with my Tampermonkey.
First it appeared in the Tampermonkey's dashboard but didn't work.
Tampermonkey didn't know how to activate / trigger it for Ipernity until I added those four headers. Than the site went dark, as intended (and I could switch the dark skin off and on again).
While doing it I inspected the code in Tampermonkey's internal editor (and Notepad++ as I like to use it for such tasks).
The Tampermonkey's editor warned me about if missing a curly bracket. So I added it and the closing one after the (very long single) statement. That's it.
Now about javascripts... My understanding it that userscripts are actually little (or not so little) snippets of javascript handled by browser extensions like Stylish or Tampermonkey (and some less popular others). The extension (when active itself) looks at the page to be displayed, detects a matching userscript (if there is one and is not switched-off) and forces the browser to run the script accordingly to the instructions inside (like // @run-at document-start). Of course the most common usage is to change default css definitions (like in GM_addStyle(css)). And it is what your script does.
But there is much more to explore (and use):
www.tampermonkey.net/documentation.php
[EDIT] one hour later:
I think that I can see a possible source of confusion.
Stylish is not a general userscript manager. It deals with styles and injects them into appropriate pages. I think that Stylish (internally) uses javascripts to do it, but I am not sure. One day I'll investigate it but not today :)
Sami Serola (inactiv… club has replied to Marta Wojtkowska clubI think that I have to correct my previous statement:
I do not use Stylish since last August. I use Tampermonkey only. Last August I upgraded my computer and installed all my operating systems and other software from scratch. That's when I realized that Tampermonkey was available for all my primary browsers (Firefox, Opera and Chrome). So I discarded Stylish (but I still love it!) and went for a uniform solution. Same extension(s), same scripts everywhere.
Sami Serola (inactiv… club has replied to Marta Wojtkowska clubI will just try to disable Tampermonkey and see if Stylish works without it. I like Stylish because it comes with option to list all available styles for each web site.
Marta Wojtkowska club has replied to Sami Serola (inactiv… clubSami Serola (inactiv… club has replied to Leon_Vienna clubwww.ipernity.com/doc/bergfex/49578466
And as I have updated on my post here, Dark Reader actually do work with some other extensions. So, on some web sites one can use for example Stylish or Tampermonkey scripts instead. Then just disable Dark Reader on those web sites, and use another extension.
See also the discussion with me and Marta above.
Sign-in to write a comment.