by tehwebguy · 5y ago · 0 comments
It does, but it's split between two places. You can see a list of all sites that have stored data in Preferences > Privacy > Manage Website Data... (no option to view here, just delete).
You can also navigate to the site in the browser and then view the detailed data:
- Check "Show Develop menu in menu bar" in Preferences > Advanced
- Develop > Show Web Inspector
- Navigate to the Storage tab
On the left you'll see options for Cookies, Local Storage & Session Storage.
The author addresses this point (or has now addressed it) in the addendum to point out an "observer effect" shortcoming:
This information can be seen with the web inspector in both Chrome and Safari.
Yes, but the crucial difference is that you have to navigate to an individual site in a browser window in order to see the site data in the web inspector. Whereas in the Preferences, you can get to the site data, for every website, without having to load the sites. And remember, the very act of loading a site can make the site data change, so there's an "observer effect" if you try to examine or delete it in the web inspector.
You can detect developer tools being open in Chrome pretty reliably, so detect dev tools have been open then "clean up your act" before there's a chance to view anything of note
Even so, we added CSS and stuff to highlight elements and that was easily found.
What do people look for today?
I mean more specifically taking advantage of the awkward UI to cover up your tracks on local storage, it's something that's just devious enough that if you get caught (which is not difficult) it'll be hard to explain what you were doing, and you'll be trying to explain it to technical people
When discord loads, it copies it out of localstorage into a js var and deletes the localstorage. So if you examine localstorage it will be empty. On page unload it copies it back into localstorage. So if you want to see the value, you have to make sure no discord tabs are open in your browser.
I believe one reason for this is to prevent self-xss. It's hard for a malicious person to write a snippet of js to steal the login cookie now that it's no longer in localstorage. Another reason might be to prevent bots. It's hard for someone to automate a discord account if there's no way to get the account's login cookie.
Like, if I have one Discord tab open (so localstorage is cleared) and I open a second one in parallel, will I be logged out in the second one?
Specifically, there have been a lot of changes to cookies lately because malicious actors (malware/adware) figured out how to access the cookie store and infer/determine cookie information from other sites.
I suspect that maybe this cookie store is kept in a more secure part of the application and only the cookies relevant to the site you visit get pulled out of it. It may even be a risk to have the information for all domains even loaded into memory for the application.
With all that said, there should be some way to manage/introspect that cookie store from outside of the browser imho.
https://www.chromium.org/Home/chromium-security/site-isolati...
The tools are designed for developers who often want to manually edit cookies on pages they are debugging.
A particular feature of a web application (shopping cart) had different behaviour depending if the page was loaded as "an initial pageview on revisit", e.g. the user coming from [search engine|other link|bookmark|url bar] or from normal site browsing. By storing data in both Local Storage and Session Storage, and comparing the two on page load, I could determine if the user, who had been to the site in the past, had just come back. This all had to be developed in the dark as the major browsers have no method of viewing Local Storage and Session Storage for websites not loaded.
I use Safari because of keychain and continuity. For example my Mac Mini can autofill 2FA tokens sent to my phone.
I use Firefox for web development and for sites I don’t trust and don’t want tracking me.
I only use Chrome for Gmail and YouTube.
Adblocking, background playback.
Also the amount of bugs and missing features I face in Safari as a web developer is a nightmare.
Cute animations though.
Apple doesn’t make money from web ads (yet). Although even that is changing as Apple now offer personalised Ads in Apps, they might one day offer that on the web as well.
I’ve never heard about this, could you provide a source?
https://librewolf-community.gitlab.io/ https://chromium.woolyss.com/
Disclosure: never used or saw safari, and i don't have a mac, nor the mac nature.