Dark Mode 5 Min Fix

555 views
Skip to first unread message

Xy Lon

unread,
Feb 16, 2021, 8:12:54 PM2/16/21
to Session Buddy Discussion
Hello,

as the dev is lazy and not replying to subjects of their users I made a 5 min darkmode which is dark and ugly, when i am more into it there will be a decent version of the whole extension on Github.

So here you go:

1. Locate the extension folder - respectively what browser you using the extension, for me it is Opera, get your profile path and navigate to the extension folder ID - edacconmaakjimmfgnblocblbcdcpbko
Example: C:\Users\User\AppData\Roaming\Opera Software\Opera Stable\Extensions\edacconmaakjimmfgnblocblbcdcpbko

2. Go into folder (version may be difference) and navigate to css folder

3. replace the main.css and sbButton.css with the attached ones

4. IMPORTANT - make rightclick on files and select copy protected, so that the files does not get replaced by some browser mechanism, which checksum the files and thinks it could be an infection.

5. now you have a ugly darkmode

have fun!
sbButton.css
main.css

Xy Lon

unread,
Feb 16, 2021, 8:28:35 PM2/16/21
to Session Buddy Discussion

font on menu fixed
sbButton.css

P X

unread,
Feb 17, 2021, 1:52:21 AM2/17/21
to Session Buddy Discussion
Reminder to back everything up when messing with extensions. I just tried this and chrome prompted me to "repair extension"

Doing so deleted all of my sessions. I haven't been able to recover them. Everything's gone.

Xy Lon

unread,
Feb 18, 2021, 7:14:41 AM2/18/21
to Session Buddy Discussion
I am sorry to hear that, but backup is a must have, always, you can try to restore the deleted files with some data recovery software's:

As you modify extensions, you should never trust on some Chromes or other browser fix solutions, they always mess up your changes, on Opera it works this way, don't get prompted for repair, even after complete exit and relaunch.

Quin 15

unread,
Feb 23, 2021, 4:11:33 AM2/23/21
to Session Buddy Discussion
Unfortunately does not work on Chrome. Thankfully I backed up my sessions as per P X's suggestion but no matter what I did it always resulted in chrome saying then extension was corrupted and I had to click repair. Wipes sessions and no dark mode.
Message has been deleted
Message has been deleted

Quin 15

unread,
Feb 23, 2021, 7:32:10 AM2/23/21
to Session Buddy Discussion
My messages keep getting deleted...
Anyway, you can make an offline version of the extension:
  1. BACKUP YOUR SESSIONS
  2. Copy the edacconmaakjimmfgnblocblbcdcpbko folder to another location
  3. Remove SessionBuddy from Chrome
  4. Enable Developer Mode
  5. Click "Load Unpacked"
  6. Select the folder inside the new edacconmaakjimmfgnblocblbcdcpbko (should be a version number folder. e.g. 3.6.4_0)
  7. Open SessionBuddy page and restore your sessions
  8. Download the attached main.bundle.txt file and rename the extension to .js
  9. Replace the main.bundle.js file in that new edacconmaakjimmfgnblocblbcdcpbko folder with the new one and refresh SessionBuddy
All that is changed is a new piece at the very end of the JS file that adds new css to the header. The reason I did it this was was because I was trying to create a javascript snippet before I figured out I could just make an offline version of the extension.
main.bundle.txt
vULKPuP.png
Message has been deleted
Message has been deleted

Xylon

unread,
Feb 23, 2021, 8:01:31 PM2/23/21
to Session Buddy Discussion
@Quin: I am not happy with your solutions, injecting a whole JS file into users extension can be a security risk, could you please specify what did you changed in the file and which line?

Another try would be to use this tool, which suppresses chromes warnings:

FW

unread,
Aug 11, 2021, 2:02:14 PM8/11/21
to Session Buddy Discussion
I didn't see this thread until today but I'm glad I didn't based on the replies. I found an easier solution and with no risk of losing your sessions (however you should always backup as much as you can):  You go to "chrome://flags" in your address bar, search "Dark mode" then enable. I use this in combination with Dark Reader extension for webpages.

You may also look into using tabXpert with built-in dark mode instead but I preferred the simplicity and look of Session Buddy so I decided to stick with it for now. Hope this information helps someone.

Reply all
Reply to author
Forward
0 new messages