Any way to use a userscript on chrome-extension:// ?
-
Recently I decided to leave QuiteRSS (it keeps crashing on page-loads) and am trying Feedbro in Vivaldi.
However, I wish I could modify the interface somewhat, so I wrote a userscript to make the changes, but it appears that Chrome doesn't let you run userscripts against chrome-extension://
Is this something that Vivaldi would be willing to do?
In Chrome, it seems there used to be a flag you could set to allow this to work, but it's since been removed. -
@Khaolos If you really want you could download the extension source code (if its available) and load it yourself in developer mode. That seems to be the easiest solution to me,
-
Thanks. Yeah, I didn't want to spend that much time on it. Userscripts are super-easy to implement, and fast. Is it possible to use something other than Tampermonkey to do it?
-
@Gwen-Dragon I guess I have to remove Tampermonkey to do this? I tried disabling it, but still, when I drag a userscript onto the extensions manager window it installs into Tampermonkey.
[edit]
Actually, that doesn't work for me, either. Even with no userscript manager, dragging the xxx.user.js script onto the window doesn't do anything. The window accepts the drag, but the script does not seem to install.I did switch it to developer mode.
-
I use at least one user.js on both my PC
https://gist.github.com/justdanpo/8091e3a2345b0dd6ac54a4a8b06649f8
and I guarantee they work, on a standard Vivaldi install, you just have to use developer mode. -
The original post is not about using or installing UserScripts with Vivaldi
This is the issue of UserScripts and extensions only interacting with external web pages, Khaolos wants a UserScript to interact with an internal URL "chrome-extension://"It is possible, but unfortunately can't remember what the change it I came across something very recently but forget if it was an advanced option flag I noticed, or something I read in an article.
-
@Dr-Flay Thanks for bringing the article back to my actual point. I appreciate that.
The underlying thing is this:
I want to make css changes to chrome-extension:// pages (in particular, Feedbro), and I want to do it without having to edit the actual extension.I mentioned userscripts because I know how to use them to work with external webpages. I know how to use userscripts. But you can't use them to run on chrome-extension pages. Is there another method to achieve my goal, though?
-
@Khaolos Maybe through a mod using chrome.tabs (regular tabs) and chrome.webview (panel) API.
-
@potmeklecbohdan Usually the chrome APIs are restricted from operating properly on special chrome:// schemes. It's worth a try, but I'm not certain it would work.
-
@Khaolos said in Any way to use a userscript on chrome-extension:// ?:
I ... am trying Feedbro in Vivaldi.
However, I wish I could modify the interface somewhat, so I wrote a userscript to make the changes, but it appears that Chrome doesn't let you run userscripts against chrome-extension://
What kind of modifications would you like to see in the UI?
-
@feedbro Hello! I left a message in the "support" area for the extension...
But since you are asking! I have been accustomed to using QuiteRSS, and love it's feed list display - it's so compact, but it crashes alot and the authours don't spend enough time on it for my tastes, and don't take well to requests to fix that problem (they blame it on webkit).
Here is an image of QuiteRSS's feed list. I really love the single-line entries, with columns for authour and date in the same line. It makes it so I can see the entire list of feeds very quickly.
Also, the new AND unread items are very easy to discern
Here is what feedbro looks like. It's not as easy to read, and not nearly as compact.
(one more thing, though; I wish that when I click on a feed list entry that it automatically marks the very first entry as read, even if I haven't looked at it. I have it set to "mark as read" "automatically when the bottom of the article body is displayed" but I'd rather have it to mark as read when I "click on the feed item in the list". - or even better, have the toggle in the feed list. In QuiteRSS, it doesn't mark as read until I click the little green sphere button in the column)
I was thinking that modifying the css would be the easiest thing for me to do, (and was thinking to modify the extension) but if you were able to actually add features, I would love that even more!
-
Ppafflick unlocked this topic on
-
Ppafflick moved this topic from Vivaldi for Windows on