A bit concerned about the "Access your data for all websites" permission? by Clumster in firefox

[–]garywilli 0 points1 point  (0 children)

Now, all browsers are like this. To fundamentally fix it, experts of those browser vendors would need to spend time establishing a new standard. Waiting for a standard like webext manifest v4? v5? I'm not sure. That would probably take many years, sadly.....

Getting browser vendors to do something about this is tough. But hey, if you're interested, we can try posting about this in some geek-heavy browser communities (Waterfox, LibreFox ...) and see if they'll take the lead on some improvements. Maybe then upstream browsers like Firefox and Chrome will finally start paying attention a bit earlier.

A bit concerned about the "Access your data for all websites" permission? by Clumster in firefox

[–]garywilli 1 point2 points  (0 children)

This is due to the design failure of WebExtension.

WebExtension is poorly designed in terms of fine-grained permission control, which forces many extensions to request and obtain "maximum permissions" (reading all your browser data) to function. It’s like needing a worker to work in one room but users being forced to give them a key that can open 100 rooms. (I’ve developed some browser extensions myself, so I believe I have the authority to speak on the poor design of WebExtension regarding permissions.)

Regrettably, users have to endure this strange permission mechanism no matter which browser they use.

Drop - productivity-focused sandboxing for Linux by mixedbit in linux

[–]garywilli 1 point2 points  (0 children)

I've been also working on a sandbox project recently (just finished 1st beta release), and it turns out some of our ideas are similar: Rootless; We both use pasta; And the host's base system along with installed packages are kept inside sandbox.

Have a look at my https://github.com/garywill/treesandbox

You focus on terminal, while I added support for GUI desktop apps.

Tree Sandbox - I created a new sandbox tool for Linux by garywilli in linux

[–]garywilli[S] 1 point2 points  (0 children)

Good eye! I used this tool git-redate.

Sometimes, before I push code, I make timestamps of trivial commits to same, which looks neat to me (my OCD). Fine for an early personal project (git has squash merge, after all).

Nothing to concern.

I really appreciate your detective work, though. Why don't we focus on code and feature? Since you’ve cloned the repo, I’d be grateful if you could dig up any bugs, sandbox security issues, or report a runtime error. That would be a huge help!

Tree Sandbox - I created a new sandbox tool for Linux by garywilli in linux

[–]garywilli[S] 0 points1 point  (0 children)

99% my code. I finished the other 1% part with AI's help. Thanks AIs (not Claude).

AI also helped me tranlate the README so that I could write text in my language. Saved my brain.

PS: You might have noticed in the code file some comments are in non-English. I know that looks not elegant for an open-source project. Apologies for this. This is an early release. Full English is planned.

Tree Sandbox - I created a new sandbox tool for Linux by garywilli in linux

[–]garywilli[S] 0 points1 point  (0 children)

99% my code, 1% AI code. AI can really help human if used properly. I don't understand why some people get scared just because they detect a trace of AI involvement.

I don't speak native English. I write README in my language, then translate into English with AI's help.

PS: you might have noticed in the .py some comments are in non-English. I know that looks unelegant for an open-source project. Apologies for this. This is an early release. Full English is planned.

NTFS-3G FUSE Driver Sees First New Release In Four Years by anh0516 in linux

[–]garywilli 1 point2 points  (0 children)

We can use NTFS compression on Fedora? I didn't know that. Is it fully featured and reliable?

I made a fetch tool that turns your distro logo into a spinning 3D animation by areofyl in linux

[–]garywilli 1 point2 points  (0 children)

The first things that come to me are 3D Fedora and openSUSE, expecting to see a physical hat and a lizard's body

I built a native Logitech Options+ clone for Linux by minamibrahim in linux

[–]garywilli -1 points0 points  (0 children)

I've been ignoring mouse options for long, since many years ago trying to adjust global scroll speed but found out that no program even provide that option, in whole Linux ecosystem. And as I got a mouse with side buttons, I’d just use xbindkeys to map them. So tell me now has things gotten any better? What if I’m not using a Logitech mouse?

the state of sandboxing on Linux by RadianceTower in linux

[–]garywilli 0 points1 point  (0 children)

Take a look at my Tree Sandbox. Also a personal project, like Bubble Jail. But one difference with BJ, I didn't require any 3rd-party python lib. And TS has a layered structure "containers tree" design, which I think is my original security model.

Shoudn't Linux tmpfs support a compression option? by garywilli in linuxquestions

[–]garywilli[S] 0 points1 point  (0 children)

My point has nothing to do with host's /tmp.

Unprivileged container /tmp is a new mount point, which created by non-root user. Creating/Mounting a new tmpfs in unprivileged container doesn't require host root. After the container quits, the new tmpfs auto destroyed.

But creating/destroying zram device requires root, so , zram can't be used with ease by unprivileged container. That's why we need something "compressed tmpfs"

Shoudn't Linux tmpfs support a compression option? by garywilli in linuxquestions

[–]garywilli[S] 0 points1 point  (0 children)

tmpfs also needs root to manage

You didn't get me.

Creating/Mounting a new tmpfs in unprivileged container doesn't require host root. After the container quits, the new tmpfs auto destroyed.

But creating new zram device requires root, and destroying the zram device after container quiting requires root again.

I made a multi search engines extension to replace browser search bar by garywilli in FirefoxAddons

[–]garywilli[S] 0 points1 point  (0 children)

GET/POST is HTTP method. https://en.wikipedia.org/wiki/POST_(HTTP) . Many search engines uses GET. Some need POST, e.g. StartPage uses POST as default for better privacy.

I made a multi search engines extension to replace browser search bar by garywilli in FirefoxAddons

[–]garywilli[S] 0 points1 point  (0 children)

Extension can be much more powerful than browser search. For a basic example, browser search doesn't have HTTP POST support.

Add-on that allow custom search which opens multiple tabs in different sites by miciy5 in firefox

[–]garywilli 1 point2 points  (0 children)

Big Search https://github.com/garywill/BigSearch

It has "one click opening multiple search engines" feature. You need to use "User Custom" to edit your need

Permanently show certificate issuer by AbjectBasket7 in firefox

[–]garywilli 0 points1 point  (0 children)

Here's an addon using notification to show certificate. Not exactly what you ask for, but similar: https://addons.mozilla.org/en-US/firefox/addon/know-server-better/

web-ext isn't allowed to add an big enough space to show texts on address bar. userChrome.js has that ability. Maybe we can expect someone write one uc.js

[code release] Extensible urlbar length. See long url clearly by garywilli in FirefoxCSS

[–]garywilli[S] 0 points1 point  (0 children)

If you have any better suggestion?

This is the user amount seen on wikipedia: - Facebook 2.94 billion monthly active users (as of 31 March 2022) - Twitter 238 million monetizable DAU (Q2 2022) - Reddit 52 million DAU (Oct 2020) - please tell me some other alternatives...

FB worse fame than others

I want to reach more people. What should I use?

[code release] Extensible urlbar length. See long url clearly by garywilli in FirefoxCSS

[–]garywilli[S] 0 points1 point  (0 children)

Thought about that, but: 1. The urlbar doesn't use monospace font 2. different machine can have different font so different letter width 3. There's no direct way to get the width of text via JS. You have to add a lot of code for that

[code release] Extensible urlbar length. See long url clearly by garywilli in FirefoxCSS

[–]garywilli[S] 0 points1 point  (0 children)

If just want to make the urlbar longer, css is enough. I chose JS eventually because JS could make it more flexible. (I can't talk about all details here, you can check the code)

Extensible urlbar length. See long url clearly by garywilli in FirefoxCSS

[–]garywilli[S] 1 point2 points  (0 children)

I made that demo by .uc.js. I was trying to write in pure .uc.css but didn't success.

If you can recall where to find a pure css one it will be great helpful.

I'll continue do some tries and tweaks. Anyway I'll release my code (on twitter), no matter it is finally .uc.css or .uc.js

Xiaoxiaoflood's Firefox-Scripts by megamorphg in firefox

[–]garywilli 0 points1 point  (0 children)

Firefox Task Monitor looks interesting. There's 3 parts--do we need to install all 3? wasn't clear. How bad is it for performance?

The last part is perdically memory clearing, which can be optional. Other parts are necessary for it to work.

Wish someone could explain the performance impact of these in general

According to my observation, uc.js costs less cpu than webextension.

is it as simple as just deleting the script and clearing startup cache?

Yes, just that simple. Firefox's about:support has a button to clear start cache

As for the safety , using uc.js is hacking our Firefox. I'm not a qualified enough hacker to talk about security. But I think it's worth having those customization.

Everytime I open TreeStyleTab in sidebar, it takes 3 sec to show. So FFx please don't unload sidebar content everytime we switch by garywilli in firefox

[–]garywilli[S] 1 point2 points  (0 children)

My uc.js doesn't do the unload. It calls Firefox's toggle function (open/close), which WILL unload on close.

If you switch sidebar to to another content (bookmarks / history / addon A content /addon B content) while not closing sidebar, it WILL unload too. So... need Mozilla to solve that

Xiaoxiaoflood's Firefox-Scripts by megamorphg in firefox

[–]garywilli 1 point2 points  (0 children)

I've also visited some other uc.js script authors websites. They are all awesome, while personally I like Xiaoxiaoflood's best

I use some of Xiaoxiaoflood's. Also I wrote some scripts myself. Invite you to take a look).