Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gildas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
121.
▲
by
gildas
4y ago
> I don’t think there’s a perfect answer. You simply cannot predict with 100% certainty what the browser would choose. But you can get a good approximation by parsing the User-Agent header Isn't it the purpose of the "Accept&q
122.
▲
by
gildas
4y ago
See "Crockford Objects" here for example: https://levelup.gitconnected.com/crockford-objects-in-javasc...
123.
▲
by
gildas
4y ago
Go is also cited in the article but first appeared in 2009.
124.
▲
by
gildas
4y ago
The auto-save feature of SingleFile browser extension [1] allows you to do this. You will just need to adjust the settings to change the delay after which the page is automatically saved. SingleFileZ [2] can also do this and produce full-te
125.
▲
by
gildas
4y ago
Author here, I just wanted to add that most of the "features" should be fixed by Google this month [1]. That leaves me approximately 2 months to finish the work and hope to make the transition in January \o/. This delay is a
126.
▲
by
gildas
4y ago
It's not necessarily a JavaScript malware. A pure HTML page with a <form> tag could suffice to steal credentials.
127.
▲
by
gildas
4y ago
I agree with you. On the other hand, in the case of a native application, we can hope that the antivirus removes it. I hope that Microsoft has planned to update Defender accordingly.
128.
▲
by
gildas
4y ago
And then a shady company offers to buy the owner's website...
129.
▲
by
gildas
4y ago
At that moment, I took the knife next to the computer to insert gently the blade into the drive above the diskette. It worked most of the time :p.
130.
▲
by
gildas
4y ago
He means that cookies are an implementation detail, the fact of using alternative techniques doesn't absolutely change anything regarding the law. And it is perfectly legal to store cookies (e.g. a session token) without asking the use
131.
▲
by
gildas
4y ago
SingleFile [1] includes a simple annotation editor that allows you to highlight text and add notes in saved pages. [1] https://github.com/gildas-lormeau/SingleFile/
132.
▲
by
gildas
4y ago
It seems that they only work properly if JavaScript is enabled...
133.
▲
Show HN: Zip files 4 times faster than 7-Zip with a demo written in JavaScript
12 points
by
gildas
4y ago
|
0 comments
134.
▲
by
gildas
4y ago
$ curl --head -H "Accept: text/plain" https://bun.sh/install HTTP/2 200 date: Wed, 06 Jul 2022 10:21:57 GMT content-type: text/html; charset=utf-8 ...
135.
▲
by
gildas
4y ago
> For more details on the exact differences with Mighty and with other browsers, we have a comparison chart on our website It would be helpful if you somehow included the browser name as I had to use Google Images for this. It's not
136.
▲
by
gildas
4y ago
With Manifest V3, you an inject scripts in the "MAIN" world [1] without exposing them as web-accessible resources. [1] https://developer.chrome.com/docs/extensions/reference/scrip...
137.
▲
by
gildas
4y ago
It can help indeed! Thanks for the suggestion BTW [1] [1] https://github.com/gildas-lormeau/SingleFile/commit/6c7a2ef1...
138.
▲
by
gildas
4y ago
At first, I thought people would respect the issue template. In practice, very few do, even when a proper bug is reported. I completely agree with you but it seems to be a losing battle. So I just deal with these kinds of cases according to
139.
▲
by
gildas
4y ago
I was hesitating, thanks!
140.
▲
by
gildas
4y ago
This is how SingleFile writes HTML by default :). However, it is also the most duplicated issue in the tracker.
141.
▲
by
gildas
5y ago
Thank you for the feedback! Regarding the bookmark management, it could certainly be better. I would have to find some time to code a bookmark manager extension based on SingleFile maybe.
142.
▲
by
gildas
5y ago
You could also create 2 separate profiles in the options page. One profile would open the annotation editor and the other would not. Then, you would just have to save pages with the appropriate profile. To restore the page, you should click
143.
▲
by
gildas
5y ago
FYI, I updated the README page. Now, it includes a mp4 video weighting ~9MB.
144.
▲
by
gildas
5y ago
It would seem that this subject is very subjective. However, I admit that I let myself go a bit on the intro and I can understand your point of view.
145.
▲
by
gildas
5y ago
I think this is the worst comment I've ever seen as well! ;) BTW, it's not a landing page. This is the README on GitHub.
146.
▲
by
gildas
5y ago
Thank you Cris!
147.
▲
by
gildas
5y ago
All I can find is a <a> tag. Edit: I think I now understand the issue. I confirm SingleFile saves only the current page and not linked images, for example.
148.
▲
by
gildas
5y ago
In fact, SingleFile implements several ways to save space. In practice, the most effective mechanism is shaking the CSS tree. It's amazing how much CSS is useless in a page. It's especially annoying for SingleFile if it contains i
149.
▲
by
gildas
5y ago
Most of the time, it will be able to deduplicate them. For example, if you save this page https://groups.google.com/a/chromium.org/g/chromium-extensio... , each different avatar will be embed only once. To ach
150.
▲
by
gildas
5y ago
You are absolutely right, thanks for the suggestion! I had totally forgotten about this feature.
More ›