aminomancer / uc.css.js

A dark indigo CSS theme for Firefox and a large collection of privileged scripts to add new buttons, menus, and behaviors and eliminate nuisances. The theme is similar to other userChrome stylesheets, but it's intended for use with an autoconfig loader like fx-autoconfig, since it uses JavaScript to implement its more functional features.
Other
326 stars 27 forks source link

[BUG]Dragging local files to Sibery bar and opening them on the actual "file://" address instead of "blob:"? #82

Closed ericpa06 closed 11 months ago

ericpa06 commented 11 months ago

So, I'm not sure if this is possible, but I noticed that if you drag a local file (let's say an HTML file) to sidebery, it doesn't open that file on its normal (file://), as it does when you drag the file to the normal tab bar.

image_2702

Why is this an issue? Some extensions, don't work if the files starts on "blob:", like for instance: Stylus, Dark Mode, etc, etc... So if your using dark mode extensions, and drag a file a local HTML file to sidebery bar, it won't apply dark mode to to it, because the address is a "blob"

Here is an example. In the first one, I dragged the file directly to sidebery bar image_2701

In the second I dragged the file to tab bar instead. image_2700

Also dragging directly to tab bar might not even be some option in some cases since many users use css modifications to hide the normal bar and just use sidebar to locate themselves instead.

What would be the desired output? To make so that when you drag a file to sidebar it opens the actual file location instead of blob.

I hope I was to describe the issue. As I said in the beginning, I don't know how much this is possible, maybe it's not possible to forward the actual file address and the thing can only be open on "blob:". As always, thanks for your attention.

ericpa06 commented 11 months ago

Sorry, I posted it in the wrong github project. If possible, delete this issue. Again, sorry.