r/javascript • u/magenta_placenta • Mar 25 '11
Fuck you, turn on JavaScript
http://fytojs.com/6
Mar 25 '11
It's not the JavaScript disablers that bother me but rather the people using old browsers. (I know some don't have control over which browser they use)
13
u/megadeus Mar 25 '11
Ugh. There are nicer ways to ask people to enable scripts for one's site.
Insulting them without considering their reasons for disabling scripts is ignorant and douchey.
4
11
u/madpedro Mar 25 '11 edited Mar 25 '11
That was quite an offensive webpage from an ignorant person. What's killing the web is people not caring about its open nature, see an open web.
Also, this from 2002:
Java, Javascript and ActiveX can also be used for spyware purposes. Support for these scripting languages can be disabled in your browser's configuration options (a.k.a. preferences, settings, or properties). It is safest to surf with them turned off, and only turn them on when a site you trust and want to use requires them. If you don't know if your browser supports these languages or don't know if they are turned on you can use BrowserSpy to find out (along with a lot of other information about your Web browsing software): http://gemal.dk/browserspy/
from https://www.eff.org/wp/effs-top-12-ways-protect-your-online-privacy
0
20
u/entalong Mar 25 '11
Fuck you.
I don't blindly trust every script out there because I'd rather be safe. I'll turn it on as necessary.
Even if I'm a bit paranoid, you are an asshole.
-16
u/simple-seb Mar 25 '11
so you check all the sourcecode of a website before enabling javascript? wow, you are awesome!
4
u/madpedro Mar 25 '11
Ever heard of noscript and that kind of tools ? Beside, you don't have to enable javascript that often and you only have to check a website isn't fraudulent once.
2
u/russellvt Mar 25 '11
...and then hope that it remains that way.
2
u/madpedro Mar 25 '11
The "disable by default and add to whitelist" approach is not absolutely perfect, but it is still way more secure than enabling scripts by default. If you want additional security you can enable javascript on a temporary per visit basis, but this additional bit of security has a trade-off in ease of use.
1
u/russellvt Mar 25 '11
Agreed. And for the most part, I use NoScript in the "temporary" mode ... along with RequestPolicy to try to decouple some sites (eg. like google-analytics only "runs" on a few sites... even though RP isn't perfect and leaks through to some sites, on-occasion - noticed since I also run with cookie prompting turned on, too).
9
u/entalong Mar 25 '11
No but I only enable it for sites I normally go to. That way if I'm led to an unfamiliar compromised site, I'd have to explicitly enable javascript to get hit.
And yes, my understanding of the basic concept that is a whitelist makes me somewhat more awesome than you.
1
3
3
u/stratoscope Mar 25 '11
Years ago when I was working at Tymshare and maintaining their PDP-10 linker, my manager asked me to fix a little annoyance: The linker was leaving garbage behind in the unused areas of memory between the areas it actually used. He wanted that memory zeroed out so the linked images would be cleaner. A reasonable request.
But not an easy one. The linker had lots of places where it fiddled with memory, and it was a mess of spaghetti assembly code.
It was not a fun project at all, and by the time I finished, I was a little annoyed with the whole thing.
The linker printed a message at the end of its run that included a memory summary something like this:
14271 words used, 403 freeSo I changed it to:
14271 words used, 403 free, and it's pretty fucking cleanNow, my manager knew it was an unpleasant project and he appreciated my efforts on it. So I knew he would get the joke, and then I'd take the message out after he saw it.
Unfortunately, before my manager saw it, his manager gave a demo to a customer that included a link step.
The customer did not get the joke.
I didn't get fired or anything, but let's just say it led to a few unpleasant moments for all.
tl;dr Watch out when you let off steam - it may come back to burn you.
5
Mar 25 '11
BUT YOU OWE IT TO ME TO MAKE YOUR SITE WORK EXACTLY HOW I WANT IT TO EVEN THOUGH I'M NOT PAYING ANYTHING!!!!!!! ASSHOLE!!!!!!!!!!!!!!!!!! RAGEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
3
1
-1
u/madpedro Mar 25 '11 edited Mar 25 '11
For those who would like to give the author some feedback about his message, he's a redditor. Info found by looking at the page source.
-edited out personal info you can find on the author website, if you want it you go find it by yourself.-
3
u/evanwalsh Mar 25 '11
Honestly, having an aggressive opinion about something doesn't warrant harassing him. I understand maybe wanting to contact him, but listing all that (especially his employer) is out of line.
2
u/madpedro Mar 25 '11
I don't mean harassing, I mean feedback, as in telling him directly because posting a comment here may not reach him, and imho comment such as entalnong's should reach the guy. Besides it's not as if he tried to hide he's behind this site, it's written in the source, posted on his twitter, etc.
0
Mar 25 '11
[deleted]
2
u/madpedro Mar 25 '11
Actually I hesitated for a second about mentioning the employer, it is mentioned on each of these pages and directly linked from his site and github so I though it would be hypocrite not to include it, but I get your concern so I edited off the employer and email from my comment.
0
Mar 25 '11
[deleted]
1
u/madpedro Mar 27 '11
If the people that enjoy harassing others online didn't bother to look this guy up, don't do it for them.
If the people that have useful feedback to provide don't (or can't) look this guy up, do it for them.
One personal's view can make quite a difference. But on reddit there is a downvote mechanism that can be used to hide content from view.
0
Mar 27 '11
[deleted]
1
u/madpedro Mar 27 '11
Yup I clicked "other discussion" and copy-pasted my comment over there, traffic being separated into two comment threads, I posted in the two thread to maximize chances the message be seen.
Believe it or not, I don't look at who post what on reddit, I only noticed after he replied to me, haven't you noticed that I had edited my comment to reflect this when you wrote your reply. We dont pay attention to everything all the time and sometimes we miss relvant info. Had I known he was a redditor at the time I would have directed feedbacks towards his reddit message box.
The reddit which got popular was the one he didn't post and I didn't look up who posted the other reddit, well snafu.As I'm only continuing because you keep trying to make me look bad based on your personal judgement of my intents and I'd like to clear that out.
1
u/jeremyckahn Mar 26 '11
Yup, you found me. Good job. I thought that people savvy enough to view the source would find the page humorous, and check out my Github - which they might also find interesting. Apparently I just attracted vindictiveness (which I'm not going to detail). So that was bad judgment on my part.
But it is what it is. I took the site down, because explaining the humor behind it would kill the fun, and I didn't need any more malicious people trying to get "even." You win.
1
u/madpedro Mar 27 '11
It's not like you were trying to hide your identity. But i'd like to make it clear that I didn't aim for harassment or vindictiveness towards but feedback as in criticism is feedback. This was not a call to arms. I figured that vindictive people would find you anyways but that this was an opportunity for other people to reach you, hoping the signal would not be lost in the noise.
With such an offensive message towards the general public, you should have expected a big chunk of attention and a significant backlash. It's all about being publicly visible.
You came back to me telling me "you win", because I made a publicly visible comment and thus defined a space to come to react to my comment, but you got the wrong person here, as a supporter of freedom of speech I don't consider this a win at all, imho there's no win possible through harassment and "trying to get even".
A win situation would be capitalizing on the focused attention to turn fytojs.com into a place to discuss the advantages and flaws of using javascript and documenting the sane practices and those to avoid. Explain how to turn javascript on/off and what are the consequences, etc. Maybe start a project to allow browsers to identify website as being safe to turn on js on. You know, trying to make the web a better place for all.
You should know that fytojs current message makes you look bad as a web professional because it implies you have a really poor understanding of the web when you say people are turning off javascript to avoid website awesomeness (as any web pro knows, you do know people are turning off javascript for valid reasons, don't you ?), and when you imply that supporting a no-javascript visitor is more work, it tells other professional that you are probably doing it wrong (see progressive enhancement).
0
0
Mar 25 '11
[deleted]
0
u/madpedro Mar 25 '11
Am I naive to expect redditors not to behave as 4channers ? Anyways this is public information, the guy even took an extra step to provide it in the source code and has told the world on his twitter. He makes a strong (and arguable) statement in a quite offensive way which means he's probably hurting his own cause.
-1
Mar 25 '11
[removed] — view removed comment
2
u/jeremyckahn Mar 26 '11
Initializr, specifically. I bought the domain and put the page together this morning while eating breakfast. I didn't QA it much because I didn't want to be late for work. So yes, there were some things I forgot to remove from the template.
-2
u/shoseki Mar 25 '11
If you like your websites to be forms and text, by all means disable javascript.
Nowadays, I like my site/apps to be more than forms and text. Node.js may help with some types of functionality.
-1
u/vectorjohn Mar 25 '11
Reasons 1 and 2 are equivalent. There are no security benefits to turning javascript off.
0
Mar 25 '11
Actually there are many. If you look at the vulnerabilities discovered in web browsers over the last decade, more than half of them depended on the availability of scripting.
1
u/vectorjohn Mar 28 '11
You know what else they were caused by? Using a web browser. Better turn off your web browser.
1
Mar 28 '11
I hope you realize how ignorant that statement is. Its basically the equivalent of arguing that condoms are useless because it's safer to not have sex at all, then concluding that everyone should just have sex without condoms.
It's really not that hard to use NoScript. When your site loads, and says it needs JavaScript to run correctly, I can decide whether or not to grant your site temporary permissions based on your reputation. Google gets a grant. vectorjohn.com doesn't. Deal with it.
1
u/vectorjohn Mar 28 '11
Yeah, except your argument is the equivalent of trying to pull out. Not actually effective.
0
Mar 25 '11
[deleted]
13
u/madpedro Mar 25 '11
There is some javascript on that page already, it gathers personal data from you and send it to google.
3
Mar 25 '11
Even without javascript a lot of that information is logged by the server the site is hosted on; who knows who is collating that information and to what purpose.
1
Mar 25 '11
[removed] — view removed comment
1
u/madpedro Mar 27 '11
Others do care enough to deploy extra effort and money to get this information, so it is obviously worth something to someone.
0
Mar 25 '11
[deleted]
5
u/madpedro Mar 25 '11
Personal data ≠ great secrets. But leaking personal data is still a breach of privacy. It is notorious that google and facebook are tracking people outside their own network and gather as much personal data as they can through google analytics and I like button.
0
Mar 25 '11
[deleted]
1
u/madpedro Mar 27 '11
In terms of privacy, the reason why you give away your website visitors personal data is irrelevant.
The people who uses these services are to blame along with the service provider, even more because they are people and not corporations or companies.
You probably know that "If you are not paying for it, you're not the customer; you're the product being sold." but did you know that google analytics is a rebranded service that used to be called "urchin on demand" priced at $495/month (source). This was the outsourced counterpart to the regular urchin software priced at $895. Urchin was the world leader of web analytics when google bought them and turned the $495/month service into a free google rebranded service and bumped the urchin software price from $895 to $9995. Quite a drastic pricing change.
You're not paying for google analytics for a reason, it could be because google is so filthy rich that they are happy to pay from their pockets to provide you with a useful service used to be worth $495 per month or it could be because they want to get hold onto the personal data collected by other websites to fill in gaps in their tracking system that they monetize in ways that made google filthy rich in the first place. hint from the past.
Maybe you should take a minute to think about the situation. Why you are giving away your analytics data to a third party ? Why are you giving it away for free to a company that makes profit from it ? What are the alternatives (hint: piwik) ? Is stealthily giving their personal information to the web "big brother" a way of treating your visitors with due respect ? Would your visitors be happy to know that you give away their personal data to a third party ?
On a related note to this reddit, visitors who browse with js turned off do not appear into your analytics numbers (while they do figure in your web server logs), those who use google's "Google Analytics Opt-out Browser Add-on" or any other way firefox extension, hosts file, etc. don't show in google analytics either, so much for accuracy and reliability.
0
Mar 27 '11
[deleted]
1
u/madpedro Mar 27 '11
The product is aimed at marketers as opposed to webmasters and technologists from which the industry of web analytics originally grew.
From the same article, one line before your quote, which add some context to your quote. Marketers want this tool so it makes sense that it used on half the bigger websites which most probably have marketers. It was the world leading web analytics solution before google bought it, this is probably one of the reason google bought it in the first place.
Anyways, you are free to choose to be part of the bandwagon (or are you ?) and not care. But you should know that google made their money by keeping their analytics data to themselves and later monetizing it.
1
u/SystemicPlural Mar 25 '11
It tells them a lot more than that. Simply by having visited that site, in combination with many other sites, a very detailed profile of you can be built.
0
Mar 25 '11
[deleted]
2
Mar 25 '11
cough reddit could and probably is doing it at some level. They know all the links you click.
1
u/madpedro Mar 27 '11
Well microsoft does it, same for apple, and it's likely mozilla too and the others along, but there is a scale component to this. Google's reach goes further than all the others combined.
Google has raised a huge lot of privacy concern, G has been caught collecting data about wifi networks while mapping the streets for street view and has then been caught doing the same using android phone geolocalization, they even had this project to use your computer/phone mic to record any environmental noise hoping to identify some recognizible tv audio to display contextual ads source, and many other cases. Thinking google is collecting all this data not to make use of it is imho wishful hinking.
0
Mar 27 '11
[deleted]
1
u/madpedro Mar 27 '11 edited Mar 27 '11
I do understand that you like having personal benefit reaped off other people privacy, but that doesn't make the privacy concern go away.
I wonder where you get the idea that google still has the reputation it used to have. Where can one read about a google privacy policy mentioning they will roam the streets for years and gather any wifi network information if it is available, and this is one of several examples showing that you don't always have the choice.
So it seems, you've chosen the voluntary servitude path...
"It is incredible how as soon as a people become subject, it promptly falls into such complete forgetfulness of its freedom that it can hardly be roused to the point of regaining it, obeying so easily and willingly that one is led to say that this people has not so much lost its liberty as won its enslavement." — Etienne de la Boetie
The Politics of Obedience: The Discourse of Voluntary Servitude(pdf).
1
u/brunt2 Mar 25 '11
You would if someone wanted your imprisonment or death.
0
Mar 25 '11
[deleted]
1
u/madpedro Mar 27 '11 edited Mar 27 '11
You should know better: eff's panopticlick. Besides, imprisonment or death are only a subset of the motivation to track somebody. if everyone knew...
0
Mar 27 '11
[deleted]
1
u/madpedro Mar 27 '11
Not caring is usually not a good thing, but good for you anyways. But you are one person and you can't generalize your own view to the rest of the world.
Actually I don't have this "only caring about my own ass" way of seeing things, nor the "I only act out of fear and being afraid". I have the ability to look at the big picture and to think and care about others which allows me to see respecting visitors as a great way to build quality organic traffic and privacy as something people value and that makes a difference.
0
Mar 27 '11
[deleted]
1
u/madpedro Mar 27 '11
So you're down to personal attacks ? have you run out of smart things to contribute ?
An open wifi network is not the same as people willingly publish wifi location, more often than not, an open wifi network is the result of people not knowing better. Besides google has been fined and has taken a lot of heat for this sneaky mass collection of personal datasource (they also recorded what ever was being said on these networks at the time source).
Now you are putting on the same level google stealthily and massively gathering data people probably didn't know was available in the first place and was only available to limited scope of the wifi network range, and me reposting the personal info on the web of one guy (nothing massive), which he had made publicly available on the web (same scope here), not trying to hide I did it (no stealth here), and last time I checked I'm not a transnational corporation with massive bank account built on monetizing personal data I gathered and with a historical record of privacy problems. When pointed out, I edited out the controversial part right away.
While there is correlation, I see nothing proving there is any causation. I believe you give my comment too much importance here as it has been downvoted below the visibility threshold. If you honestly think not having put a link to the employer would have prevented people from finding it on the guy's github and blog, you are deeply mistaken.
Due to the offensive message on the website, the backlash was pretty much inevitable. Now I'll be happy to be the target of your anger if you need to lash out at someone for an offensive website creating backlash to its author, but try at least to do a decent job, personal attacks and fallacious arguments are not.
As a closing word, being for anyone's benefits includes people who harass on the basis that they would find the info anyway as it is made easy to find and publicly available by the guy himself.
So thank you for giving me more importance than I actually have and for misreading and misinterpreting my intentions. Have a good day too.
0
-1
u/brunt2 Mar 25 '11
Sure, your data is already out there, but if you knew that people had been traced and murdered by the government bc of this information, you might regard all future activity as secret and try to maintain that secrecy.
0
u/russellvt Mar 25 '11
I don't consider my screen resolution, ISP, or country of origin to be great secrets.
...along with all the other data google collects on you.
0
Mar 25 '11
[deleted]
1
u/russellvt Mar 25 '11
Note that none of the information there is collected with Google Analytics.
Ahem.
From http://www.google.com/intl/en/analytics/privacyoverview.html:
Personal Information
Personal information is information that personally identifies you, such as your name, email address or billing information, or other data which can be reasonably linked to such information. The Google Analytics Terms of Service, which all Analytics customers must adhere to, prohibits the tracking or collection of this information using Google Analytics or associating personal information with web analytics information.
This means that you're not allowed to collect that information using the information you gain from Google Analytics.
Our Privacy Policy
At Google, we are keenly aware of the trust you place in us and our responsibility to protect your privacy. As part of this responsibility, we let you know what information we collect when you use our products and services, why we collect it and how we use it to improve your experience. The Google Privacy Policy describes how we treat personal information when you use Google’s products and services, including Google Analytics.
Now, from the Google Privacy Policy:
We may collect the following types of information:
Information you provide – When you sign up for a Google Account, we ask you for personal information. We may combine the information you submit under your account with information from other Google services or third parties in order to provide you with a better experience and to improve the quality of our services.
Affiliated Google Services on other sites – We offer some of our services on or through other web sites. Personal information that you provide to those sites may be sent to Google in order to deliver the service.
This means that they are able to take all the info you supply, from all their different products, and combine it "so-as to provide you a better (future) experience."
...as well as...
Google uses the DoubleClick advertising cookie on AdSense partner sites and certain Google services to help advertisers and publishers serve and manage ads across the web.
So, in short... they are telling you that they collect all that information on you, including through AdSense / DoubleClick (as well as their partner sites). While it's a violation of their policy for you to try to use that to identify folks on your website, I continue to see nothing that says that they can store and relate all that information for their own marketing and/or "site improvement" (and everything that entails).
TL;DR: Google maintains a large amount of information that they can use any way they wish, unless you opt out of several different policies. It is a violation of their privacy policy and ToS for you to try to use this same information for your own gains.
0
0
Mar 25 '11
[deleted]
0
Mar 25 '11
[deleted]
3
u/TheRedTeam Mar 25 '11
I use noscript because most sites still work that way, and they load and run about 5x faster without loading all the ads and popovers and javascript stuff. I'm a content guy, I don't care about the layout unless it's so bad that I can't read the content. I still allow js for most domains I visit though, but usually not the other domains it loads JS from. Some sites load stuff from like 20 other 3rd party domains, it's just ridiculous. How can the possibly hope to keep their site secure like that? Oh well.
0
2
u/CockBlocker Mar 25 '11
Although I appreciate your sentiment and generally agree with you, one thing you might be overlooking and is of great advantage to the user of a javascript blocker is that your site(s) might get hacked. I've had sites hacked with only tiny bits of js inserted. Luckily, I was alerted by Chrome the next time I visited the site and was able to rectify.
Computers on the Internet are just vulnerable.
Devil's advocate.
0
Mar 25 '11
[deleted]
2
u/k3n Mar 25 '11
When I block JS and go to your site and you present to me a placeholder on the page that says "You need to install Adobe Flash!", I chuckle, close the tab, and am on my way.
If you were a decent dev you'd be able to tell that I don't have JS enabled, and perhaps that's why I don't have Flash. In the 6ish years that I've been using NoScript, I think less than .01% of sites accurately detect that I actually have JS disabled whenever their Flash content doesn't load.
2
u/SonOfTheLorax Mar 25 '11
You are probably not the audience they were looking for anyway.
If I do a site with Flash, there's a specific reason for it. The content will be designed to present and interact in Flash. If you don't have Flash, then you weren't who I was looking to interact with anyway.
If I was wanting to interact with you, I'd damn well provide a method you could use that would give some level of content.
1
u/madpedro Mar 27 '11
Most of the time, when flash is used to make a website it's out of one these: "not knowing better", "budget", "graphic designers only".
0
Mar 25 '11
[deleted]
1
u/sjs Mar 25 '11
The truth is that it doesn't matter. The types that use NoScript can figure out what is happening and whitelist the site if they want to use it.
I might crack a smile when it happens but I would never expect someone to display the correct message. We're a small group and to be completely honest I probably wouldn't bother displaying the correct message in that case either if I used Flash. Though I might use an embed in a noscript.
1
u/k3n Mar 25 '11
Ok, so lemme get this straight....
Everyone who has JS disabled (even if from the device's lack of JS support) must be using NoScript.
Everyone using NoScript must be of high technical prowess.
Put all together: everyone without JS support must be very technologically adept.
Ergo, <noscript> elements are worthless, because the alleged audience is all nerds.
Flawless logic.
I disagree.
1
u/sjs Mar 25 '11
You're right, there are probably a lot of environments that don't use JS that I don't know about. Screen readers and such.
1
u/madpedro Mar 27 '11
cellphones ? text browsers ? corporate/military/secure environment ? older computers ? environments set up to protect user privacy by tech people who are not the actual user ?
0
Mar 25 '11
[deleted]
1
u/madpedro Mar 27 '11
A website requiring javascript to work is broken by design. This is not how it should be done. But everyone is free to not do as it should be but then you'll have to deal with the consequences.
When you complain about people complaining about sites enhanced functionality not working with js disabled, I'm with you, because they can use the website anyways but for a website running entirely on js then you are wrong, they are right: your website is broken because you prevent people from actually using the website.
1
u/sjs Mar 25 '11
That's really reasonable. I use NoScript and understand that many sites will not work without it.
The main reason I use it, besides security, is because of shit like this. The web is far less annoying without intellitxt and stuff like that.
tl;dr NoScript makes the web faster, safer, and less annoying.
1
u/x-skeww Mar 26 '11
Why judge website owners for not doubling their workload to support you?
It doesn't double the amount of work. If you want that the site is accessible and completely indexable, you're pretty much already there. You also need some hooks for the scripts... why not use some elements which do have that kind of effect to begin with?
There also is no reason to make your scripts obtrusive. Making them unobtrusive is actually usually less work, because it's a lot easier to maintain.
Compared to IE6, IE7, IE8, or IE9, this really isn't a big deal.
I mean, seriously, it can't get any more low tech than this. Forms, buttons, links. That's it. This does not increase your markup by a factor of two. Or your CSS, or your images, or your content, or your JavaScript (lol), or your databases, or your backend code, or whatever. It really doesn't.
So, basically you start with usable markup and very basic old school functionality. Then you make it look nice with some CSS. Then you make it nicer to use with some JS voodoo, which in turn you also make look nice with some extra CSS, and then you add some extras via vendor prefixes and perhaps even some polyfills/shims.
That basic naked initial HTML version is the foundation and everything else is just another layer build on top of that. Getting the foundation right will make building of those extra layers easier and more straightforward, but also - and perhaps most importantly - very robust and fail-safe.
0
Mar 25 '11
[deleted]
1
u/aapl Mar 25 '11
Intrestingly, the domain name reads "F. Y. to JS". I wonder if these mixed signals intentional or incidental ;)
1
62
u/snarfy Mar 25 '11
No fuck you, I'm blind and use a screen reader. Quit putting all of your content in script, then we'll talk.