Stylus won't work due to Manifest V3, alternatives?
-
Stylus won't work due to Manifest V3 and from what I understand, the dev is unable to bypass this https://github.com/openstyles/stylus/issues/1430.
I'm wondering how to save the functionality of styles in Vivaldi.
It supports CSS styles locally https://forum.vivaldi.net/topic/10549/modding-vivaldi?_=1729504891540, but simply copying the style content from Stylus to a CSS file and putting it into a folder with other CSS for Vivaldi doesn't work for me.
It would be best, of course, if Vivaldi officially supported CSS and had simple management, like a built-in adblocker, and they could be added locally or from external sources such as https://userstyles.world. -
@Gregor Untested idea: user-javascript-and-css
-
I am also concerned about Stylus, because for me it is equally important as uBO.
"tophf" is the main contributor of Stylus and Violentmonkey, and said about the latter:
"ntt77 commented last week
so, what is actually happening here?
will you develop a new version for MV3 or I need to switch to Tampermonkey?tophf commented last week
Nothing's happening yet, don't have much time. Eventually we'll migrate. I'm not particularly flustered because it's quite trivial to prolong ManifestV2 until the next summer via policy/registry."Therefore, I am hopeful that everything will go well with Stylus and it is just a matter of waiting.
Alternatives:
1.- Stylebot (MV3)
https://chromewebstore.google.com/detail/stylebot/oiaejidbmkiecgbjeifoejpgmdaleoha
I tested it and it is a "decent" alternative.
2.- Javascript inject
Look this post by @luetage :
https://forum.vivaldi.net/topic/82428/css-editor/10
Save as style.user.js and drag it to the extensions page with Developer mode enabled.
This alternative is more suitable for styles that are already consolidated and that you are not going to change constantly.
-
@barbudo2005 said in Stylus won't work due to Manifest V3, alternatives?:
tophf commented last week
Nothing's happening yet, don't have much time. Eventually we'll migrate. I'm not particularly flustered because it's quite trivial to prolong ManifestV2 until the next summer via policy/registry."Can you provide a link for this conversation?
-
-
User-javascript-and-css extension is also a good alternative. I tried it
-
@Gregor
Does Stylus change content or interface? If it works on content, there is another extension that I use which works. https://chromewebstore.google.com/detail/custom-style-script/ecjfaoeopefafjpdgnfcjnhinpbldjij?hl=en
It is called Custom Style Script. You can paste a javascript and/or a stylesheet into it. The stylesheet has to have no linebreaks, however, so I made a copy of the code I wanted with linebreaks and then another copy from which I removed the linebreaks. I am not sure if the javascript also has to be a one-liner or not since I am not using that. I pasted the one-liner stylesheet into the extension and it works fine. -
-
@Gregor, OpenSource extensions are depending on the updates by their devs. Sometime it means a lot of work.
Apart of Stylus there are a lot of important Extensions Mv2 on the Google Blacklist in the store, but this don't mean that they will be eliminated when Google schutdown Mv2 next year, if the are updated to Mv3 until then, some will be (eg.Stylus), another not (eg. uBO), this depends on their devs. But you can still use Mv2 extensions in Vivaldi until the shutdown (if they remain in the store until then).Anyway, in estensions not related to security and privacy, there are no differences for the user if it is Mv2 or Mv3.
-
Some Stylus BETA with Mv3 patch at https://github.com/openstyles/stylus/pull/1828
-
Stylus (Beta) is already MV3:
https://chromewebstore.google.com/detail/stylus-beta/apmmpaebfobifelkijhaljbmpcgbjbdo
News:
1.-
2.-
-
@barbudo2005 Thanks for hint
-
Compared Stylus 1.5.x to 3.0 Beta, the Beta injects CSS very late, so you can recognize original page and then after ½-1 second the styled.
As example: happens for me if opening a site (text-only, no CSS, no JS, 20 KByte) by speeddial bookmark, the site is not new in cache, text page appears and the after ½ second the different CSS kicks in.
-
It happens when I restart Vivaldi, but it doesn't happen when I open a link from a page that has style.
Do you have this setting?
-
@barbudo2005 Ah, your setting Style cache duration to -1 helped me to get rid of the rendering reflow.
Thanks