Vivaldi Forum mod
-
@stardepp I have seen that once or twice, but refreshing the page makes it go away. Haven't been able to force it to occur, but haven't tried too hard.
There are also several small things that have the incorrect colors applied, but it is still generally usable. The forum update changed up lots of things, so it is annoying to go through and revalidate all the CSS.
I stuck to fixing up the easy modifications and left the fun stuff for @luetage to deal with.
Also a note I should have mentioned before, make sure to disable the extension from the Web Store. Having both running at the same time might cause weird errors. But once the final version is released to the Web Store, you should switch back to using it so you get auto updates.
-
@nomadic Good to know. But it is not so important, this little problem.
-
I’m sorry I’m behind on the updates. I have little motivation right now and another coding project I should finish . . . But I’ll get it done eventually. Hopefully sooner rather than later.
-
This post is deleted! -
This post is deleted! -
i'm confused [duh]. should i regard this project as, for all practical purposes, deadish now?
-
@ybjrepnfr It’s not dead, I simply haven’t fixed it yet. The service worker being inactive is something completely different, it will activate once you trigger it with a task it is required for. After completing the task it will shut down again.
-
This post is deleted! -
This post is deleted! -
This post is deleted! -
@luetage great work, thank you very much!
-
@sjudenim grey is great thank you
-
Not sure where to ask this.
I have been happily using the Vivaldi Forum Mod extension for years. I use it mostly so the forum appears in dark mode, but I like the other things it does.
Kubuntu 22.04 Dark Theme.
I was posting a reply in a thread and couldn't see how old the other posts were. I tried switching themes in the extension and discovered that the age field is there, but invisible in all the dark themes.
In some dark themes, the forum menus don't even display useably.
How can I fix this? I don't know CSS at all.
-
@josephj11 The extension badly needs an update, especially because the forum got another update a couple days ago.
-
@luetage Let me know if you want any more help with the JS modifications. Know the CSS overhaul won't be fun...
I just took a quick look and they appear to all still be working in our unpublished version. Except maybe
Compact Posts
, but think I didn't have enough info to properly fix it back then. -
@nomadic I need all the help I can’t get.
-
If you are not good at remembering post avatars or you want to highlight some users use this simple code:
p a[href*="catweazle"]::after {content: " Catweazle: " !important;}
-
This post is deleted! -
Love the extension! Been using it for quite a long time now, and it's really useful.
I do have a feature request:
It would be really useful if we had a button in the toolbar to insert information about the browser into the editor. For example the version of Vivaldi, whether hardware acceleration is enabled, current OS version, maybe some information about the machine, JavaScript version, user agent string etc. Just not private information.Having this would make discussing bugs a lot easier, as you can insert all the relevant information in a single click without having to go to
vivaldi://about
and other internal pages for debug information.For the people familiar with the Reddit Sync app (RIP), they had a button that would insert debug info. When writing a comment, you had a toolbar that's similar to the Vivaldi Forums, and there was a button with an icon like this:
When pressing it, it would insert the following text into the editor, ready for you to fill in:
[BUG] Sample title
**Sample description**
Sample description body**Scenario** (steps to reproduce)**
- Do something
- Do something else
**Result(s)**
Sample results**Device information**
Sync version: v23.06.30-13:39 Sync flavor: free Removed ads: true View type: Slides Push enabled: true Device: dm3q Model: samsung SM-S918B Android: 14
That's essentially what I think would make a great addition to the forum mod. I don't know if all the information I mentioned is even available to extensions, but I know there are ways to detect most of it.
I did some research on detecting the current Vivaldi version, which may help if someone is interested in implementing this (or just curious):
On https://vivaldi.com, they show a banner at the bottom of the screen when a new version of Vivaldi is available. This means they probably use JavaScript to detect your current version. Digging into the JavaScript reveals the code they use. I won't show the code here as I don't know if the Vivaldi team would like that, but you can check it out yourself. Just go to the site, open devtools, go to sources and then open
/wp-content/themes/vivaldicom-theme/js/main.js?ver={version}
. Then on line 322 and below, you'll find how they detect the current version.Note: According to my testing, Vivaldi is only included in the user agent string when visiting domains related to Vivaldi (vivaldi.com, vivaldi.net etc) by default. It overrides the user agent masking setting:
When the "Append Vivaldi Brand" setting is disabled, it's not included in the user agent string, so detecting it is harder (if not impossible). Luckily, it is included on the forums, so detecting it should be possible for the extension. -
Why does Vivaldi have the bad habit of changing the code of Vivaldi Forum?
I can't sleep because of these constant changes. The best thing in life is to stay static forever.
New code:
.lastpost:has([href*="catweazle"]) a.permalink::before {content: "Catweazle: " !important;}