News for hackers. Stuff that matters.

helenius

Re:Windows Explorer Through the Years on Friday June 12, 2020 @06:10AM (#23497727)
Interesting thing about File Explorer is that the 20-year-old APIs for extending it still work! While File Explorer has changed between Windows versions, the underlying Win32 API seems to be the same.

A year ago I dove into shell extensions [1] to implement a drag-and-drop gesture for a file type. I wanted to create a bookmarking system for files in File Explorer based on nothing more than the bookmark being named after the file I want to bookmark (so they're next to each other when sorted from A-Z) [2]. I had not used Visual C++ before but the tutorials I found from the early 2000s, and some helpful advice from MSFT via Stackoverflow, got me through it.

There is also a simpler way to write Shell extensions using a C# wrapper if that works for your use case [3].

[1]: https://docs.microsoft.com/en-us/windows/win32/shell/shell-e... [2]: https://filemark.app/ [3]: https://github.com/dwmkerr/sharpshell

Re:In web design, everything easy is hard again on Saturday February 10, 2018 @05:24AM (#16346711)
Maybe somewhat related: can anybody guess what the idea behind the images in this article is?

  <img src="/images/trans.gif" data-src="images/speaking.png">
trans.gif is just a 1x1px invisible pixel.
This sounds interesting! Some product _landing_ pages are not readable without Javascript. With this you could at least figure out what the product is about.

Once I'm enrolled I can enable Javascript when the product makes use of it. :)

Re:Update on Meltdown and Spectre on Thursday January 04, 2018 @11:28PM (#16076539)
Friendly reminder to disable Javascript, at the very least, by default.

Only run Javascript on domains you really need and trust, and even then the minimum amount required for the site to function.

https://github.com/gorhill/uMatrix/

Re:DuckDuckGo XSS vulnerability on Monday December 11, 2017 @07:34AM (#15896641)
If you just want a search engine without Javascript try https://duckduckgo.com/html

Adding to Firefox is easy via https://addons.mozilla.org/en-US/firefox/addon/duckduckgo-ht...

Re:Super Tiny Website Logos in SVG on Sunday November 26, 2017 @10:40AM (#15781333)
Remember to always (every time) set width/height for the <img> tag, otherwise it will fill the entire screen/container.
Re:Firefox 57.0 Released on Tuesday November 14, 2017 @04:02PM (#15699078)
Not really, just that you need to be crazy enough to write and sync a file instead with e.g. Resilio or Dropbox.
Re:Firefox 57.0 Released on Tuesday November 14, 2017 @02:04PM (#15698117)
If you like syncing files you could look into user.js for syncing config settings:

http://kb.mozillazine.org/User.js_file

Re:Firefox takes a bite out of the canvas ‘super cookie’ on Monday October 30, 2017 @07:25AM (#15584241)
Looks like this needs privacy.resistFingerprinting set in about:config.

>I think it's a bad idea to advertise this to the general public, because you have to enable the "privacy.resistFingerprinting" pref for this to work.