4 ms·
DAMMIT. Once again the question that immediately come to mind is "Why the FUCK do browsers facilitate this shit?" C'mon you stupid web devs on HN tell me again
by phkahler 9y ago
DAMMIT. Once again the question that immediately come to mind is "Why the FUCK do browsers facilitate this shit?"
C'mon you stupid web devs on HN tell me again all your excuses to need these capabilities. Sorry to generalize to all those of you who don't do this, but many of you still want those capabilities that have opened the door. And those browser devs... It's like they compete to sell out the users by adding "features".
- deleted 9y ago[deleted]
- mschuster91 9y ago> but many of you still want those capabilities that have opened the door Rest assured the majority of (web) developers does not like this crap a bit. Most of the pressure to add hundreds of analytics toolkits, trackers or these snoopers come from marketing - they (or worse, the C-level execs) get convinced that they need to integrate tool XYZ to "stay competitive" or "improve their customer retention" or whatever buzzword goes today, and the devs at the bottom of the chain are left to implement it.
- cotillion 9y agoSometimes its just laziness. I was forced to add GTM to a site because it meant marketing could just hand over the GTM login and a pile of money to another company which could then provide them with pretty reports on what the customers were doing. The analytics company promised to not do anything bad so it was OK. And that was after an incident where the entire site was turned purple by another external JavaScript...
- mschuster91 9y ago> And that was after an incident where the entire site was turned purple by another external JavaScript... lol, what was the root cause? Defacement/scriptkiddie attack or a "background covering" ad that did not recognize the content area and paint over the whole screen instead?
- cotillion 9y agoThe script was for a yearly user survey run by a small company. It has an awards ceremony attached so I think thats why some marketing people like it. After the survey ended the script was not removed of course. Around a year later the site changed color when their script started injecting a new stylesheet into our site. They never really said what happened only that they had restored the old version of the script. Maybe some developer pushed dev code to the old production url or maybe they were hacked.
- arkh 9y agoAll this started with the first ad scripts and invisible pixels. It got really crazy with google analytics and then all social beacons. Now the only limit are the CPU and RAM available to the browser.
- mschuster91 9y ago> Now the only limit are the CPU and RAM available to the browser. ... and in Germany, the data cap if you're on mobile. Video ads with autoplay, tons of trackers, no wonder I regularly hit 3GB a month, which is actually the biggest package my provider offers.
- ggg9990 9y agoBrowsers became a way to deliver general-purpose applications over the Internet rather than just structured documents. Once they did, then all of the features that are being maliciously used here have very useful applications like responding to mouse input.
- acqq 9y agoIt's not "the browsers" it's primarly the culture of including "whatever" on the pages one maintains. It's so easy as it typically doesn't affect negatively those who decide to do so. And it's typically not a decision of one person.
- michrassena 9y agoI was giving this matter some thought early today after getting some stupid malware popup on my phone (where the phone vibrates, says it has lots of viruses, etc) while using Chrome. It wasn't even on any kind of dodgy site, but most likely it was part of a banner rotation for an ad network. There has to be a way for website creators to sandbox content which comes from third parties. I think we have to accept that all of these ad networks and third-party scripts aren't going away, so until everyone uses adblocking, what can be done in the meantime? It's problematic that including content from elsewhere in your page (like in an iframe) would grant it "first class" behavior with equivalent privileges to one's page. I know it's opening a can of worms, but why not implement a way to show untrusted content? On the other side of things, I'm using a relatively recent version Chrome. Why is it vulnerable to this dumb sort of popup alert? Why can't I escape from it easily? The back button doesn't work. The UI hangs so I can't close the tab. If I close and re-open my browser it just re-opens my tabs.
- phkahler 9y agoSeveral parts of your comment resonate with me: >> There has to be a way for website creators to sandbox content which comes from third parties. The whole 3rd party thing came about because advertisers needed to establish both ad-distribution and trust (they rightly don't want to pay for ads unless they're actually shown etc...). >> It's problematic that including content from elsewhere in your page (like in an iframe) would grant it "first class" behavior with equivalent privileges to one's page. I agree, this one is on the browser devs and the standard creators. Safety by default is the way to go but then people have nifty ideas that would not be possible with limitations. >> I know it's opening a can of worms, but why not implement a way to show untrusted content? That's exactly what the browser is supposed to be in the first place. >> Why can't I escape from it easily? The back button doesn't work. Because browser devs decided there was some reason the content should be able to alter or override the design of the viewer. I can think of no legitimate (to the user) use case for this. The list of stuff like this is long and ridiculous. They keep doubling down on it too. First we had cookies, but that wasn't enough so now there's a whole client-side database...
- throwawaymaroon 9y agoI'm a Single-Page-App developer that runs noscript and selectively enables javascript. We know. No one listens to us though.
- Myztiq 9y agoOk, here's a real example of how fullstory can help provide a better product. Bug reporting. A user gets a JS error on the page, but say my application is pretty complex, and the state machine I've built can't handle a particular state. Well, I can easily walk through the recording of what the user had done and reproduce the issue. I can actually hop on a call with this user and walk them through how to do something, while looking at what page and what inputs they have filled in. This takes frustrating back and forth of "What do you see now?" that happens without this tool. Say I want to influence user decisions by offering subtle cues to push them towards something that will be overall beneficial for them. By watching certain key users we can know what frustrates them (erratic mouse movements, long time searching for features etc) and what things they grok easily. The article totally washes over a super important feature of fullstory, excluding elements[0]. When you include a simple class name or specifically selecting what you'd like to exclude. [0] http://help.fullstory.com/technical-questions/exclude-elements http://help.fullstory.com/technical-questions/exclude-elemen...
- kevinconroy 9y ago+1 - having session recordings is a HUGE win to help track down hard-to-reproduce bugs. You can get the strangest bug reports, and by watching the session, as a dev, you can instantly translate it into the technical terms that the end user lacked and you can fix the problem. It's also great for ad-hoc usability testing to see how people are using your features, where they slow down to read, what elements they try to click on but can't, and other UX improvements that you'd pay consultants six figures to put in a report for you.
- phkahler 9y agoYou guys are illustrating my point nicely. I have no doubt that session recording is very helpful in your debugging activity, and provides feedback for site design. The problem is that those capabilities are often used against the user as well. The people who enabled you to do that also enabled others to do bad things. The attack surface has been hugely increased in the name of convenience for developers. Remember, with the internet the whole world is on your doorstep and that doesn't consist of just developers trying to get their UX right.
- eadmund 9y ago> Once again the question that immediately come to mind is "Why the FUCK do browsers facilitate this shit?" Because their developers were too busy wondering if they could to wonder if they should. The modern web is like Moria: we've delved too deeply, and have awaken a slumbering horror.