Slashdot Mirror


Hacking the Web with Greasemonkey

plasticmillion writes "Greasemonkey is a revolutionary Firefox extension that many feel has enormous implications for the future evolution of the web. By making it easy to write client-side scripts that modify webpages as you surf, it shifts the balance of power from content creators to content consumers. Since its inception, it has given rise to an impressive array of scripts for everything from enhancing Gmail with one-click delete functionality to preventing Hotmail from spawning new windows when you click on external links. In recent Greasemonkey news, Mark Pilgrim just published a comprehensive primer called 'Dive Into Greasemonkey', a must-read for those who want to try their hand at writing their own scripts. It should be noted that Greasemonkey is not without controversy, but this has done nothing to reduce its popularity among web programmers. Even Opera has jumped on the bandwagon with their own version of user scripts. To illustrate the principle to /.ers, I whipped up a handy little script called 'Slashdot Live Comment Tree', which lets you expand and collapse entire threads in an article's comments."

107 of 512 comments (clear)

  1. Disable Greasemonkey by mfh · · Score: 3, Interesting

    By making it easy to write client-side scripts that modify webpages as you surf, it shifts the balance of power from content creators to content consumers.

    Google has tried something similar before with their toolbar and ISBNs.

    That said, I am going to use this guide to disable Greasemonkey. I write websites so I can present ideas to people. I don't want them to see my site the way they want to see it. I want them to see it the way it was meant to be seen. That way I can provide content based on expectations of standards compliance.

    If you want to display my content with your own formatting, use my RSS feed.

    --
    The dangers of knowledge trigger emotional distress in human beings.
    1. Re:Disable Greasemonkey by Anonymous Coward · · Score: 5, Funny

      Achtung! You vill sit in ze CHAIR ven you read my book, NOT ON ZE COUCH!!!

      Sieg heil!

    2. Re:Disable Greasemonkey by Eccles · · Score: 5, Funny

      That said, I am going to use this guide to disable Greasemonkey.

      Step 1. Slashdot my own site.

      --
      Ooh, a sarcasm detector. Oh, that's a real useful invention.
    3. Re:Disable Greasemonkey by Guy+LeDouche · · Score: 5, Funny

      Ah, good morning Mr. Ballmer.

    4. Re:Disable Greasemonkey by OzRoy · · Score: 3, Insightful
      I don't want them to see my site the way they want to see it. I want them to see it the way it was meant to be seen.

      So you are in full support of the MPAA and the RIAA who want to have full control over their content and only allow people to access it, and use it they way they want you to use it?

    5. Re:Disable Greasemonkey by LiquidCoooled · · Score: 4, Insightful

      Your serving the webpage to me.

      As long as you do it in a standards compliant way, then isn't it a bit presumptious to decide how I decide to digest the information.

      If I want to use Lynx to view your page, I will, if I want to apply my own java transforms on it I will.

      Hell, if I want to print it out and use it as toilet paper, I will.

      You seem to have the wrong way of thinking about this web lark.

      --
      liqbase :: faster than paper
    6. Re:Disable Greasemonkey by Albanach · · Score: 5, Insightful
      I don't want them to see my site the way they want to see it. I want them to see it the way it was meant to be seen. That way I can provide content based on expectations of standards compliance.

      But the web is about sending content to the user - it's up to the user how they want to display it. Unles you're supplying a locked down PC with your own browser configuration you have absolutely no control over what the end user does with the content you send, or how they interpret it.

      Sure you can send CSS to the broser, but your visitor using links isn't going to see the result of you work. The visitor using a screen reader or mobile phone will be equally ignorant of your efforts.

      These are user installed scripts, and this is the web not television. The folk visiting sites are not their passively, they're there to interact and if they want your site to function a little differently so it better fits with their expectations what rights do you have to stop them?

    7. Re:Disable Greasemonkey by mccalli · · Score: 3, Insightful
      I write websites so I can present ideas to people. I don't want them to see my site the way they want to see it. I want them to see it the way it was meant to be seen...If you want to display my content with your own formatting, use my RSS feed.

      And how is that? Because HTML was a protocol for transferring information, not for regidly defined formatting or layout. The graphical browsers came along and people started taking the attitude you are espousing "as it was meant to be seen" by you, the creator.

      HTML itself however does not support that idea. Different agents (trad. browser, voice agents for the blind etc.), different and also overriding CSS stylessheet et. al. are explicitly catared for in its idea. If the user which to use your content in a manner other than that which you suggested, the intent of the spec is on their side here. HTML is not a fixed layout format. It is for the transmission of information, to be used according to the whims of the receiver.

    8. Re:Disable Greasemonkey by akadruid · · Score: 4, Informative

      I don't want them to see my site the way they want to see it. I want them to see it the way it was meant to be seen.

      That's why GreaseMonkey exists. It allows firefox to do the work your eyes and hands must otherwise do - it gets you the information you're after, not what the designer fancies.

      (I actually like your site design, and I think it is great you are releasing your work under the GPL and your content under a CC license)

      --
      "Those who cast the votes decide nothing; those who count the votes decide everything." (attrib. Joseph Stalin)
    9. Re:Disable Greasemonkey by Tx · · Score: 5, Insightful

      This seems to be another step in the battle that's as old as the web, over who gets final say as to how a web page is presented.

      I feel the (Firefox) user should, and generally is going to have the edge, what with the uriid extension to apply site-specific CSS, greasemonkey, and other tools. But page producers always have wanted to dictate exactly how their pages appear to the user, however misguided that is, and I doubt the battle will ever be over.

      --
      Oh no... it's the future.
    10. Re:Disable Greasemonkey by zoloto · · Score: 2, Interesting

      I don't believe that's what he meant. His concern was that he wants his information presented a certian way and to leave it that way preventing others from changing it into something he didn't intend or desire for his content.

      Think of it this way. Many musicians don't have a problem when people do remixes of their stuff, some do. That's why the majority of those that do offer special deals (or lisensing /sp) to allow that creativity.

      Those that do not, don't offer such. Though it's still possible to do so, generally you don't find them in the public too often.

      Not that my analogy is perfect by any means or stretch of the imagination, but it's not the evil DRM example you seem to have pulled out of your ass.

      It's his information to present. Let him do it in a way he wants. There are plenty of other sites you can go to to change how it's presented to you. Go there and don't bitch.

    11. Re:Disable Greasemonkey by DeanEdwards22 · · Score: 3, Funny

      Cheers mate! Thanks for /.ing my site.

    12. Re:Disable Greasemonkey by wfberg · · Score: 5, Insightful

      Your analogy is flawed. Artists have never had a right to prevent you from looking at their work in a certain way. Painters can't stop the colorblind or those wearing sunglasses to look at their paintings. Anyone can skip entire chapters when reading a book. I can play Beethoven and Britney Spears at the same time if I please.

      What I do with those works in the privacy of my own home is my business. I might just prefer it that way, and there's nothing you can do about it.

      Artists do have recourse against people redistributing altered ("raped") works, but that is also limited.

      In the case of greasemonkey, it's just a tool you use to view the web; other people might use other tools, like lynx for example, which renders a page completely differently from firefox or internet explorer. It's personal use. So lay off of it.

      --
      SCO employee? Check out the bounty
    13. Re:Disable Greasemonkey by masklinn · · Score: 4, Informative
      I don't want them to see my site the way they want to see it. I want them to see it the way it was meant to be seen.
      Doesn't the fact that it's plain and simply impossible kinda suck?
      Greasemonkey is nothing but "the easy way", but client side modification of a website has been live for years:
      • Proximitron allows advanced filtering
      • Specific Firefox extensions do, too (think about Slashfix)
      • Bookmarklets are fairly powerful, check MODI for example
      • For god's sake, there are so much differences from one browser to another one that one can tweak what he seens by changing browser
      • Custom/client side CSS, Opera has had them for a very long time, Firefox has that too, and you can more than likely find bookmarklets allowing you to load custom CSS in your browser
      The fact is that you seem not to know an important rule of web design: the way you indent your website to be displayed is nothing but a mere suggestion, and the surfer is 100% free to fully ignore your hints if he doesn't want it
      Don't want that? don't create websites. Your websites are not here for you and if they are they shouldn't be online, websites are for the visitor and he can do whatever he wants with the data he receives (including sending the whole content of your website to /dev/null if he finds it funny)
      --
      "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
    14. Re:Disable Greasemonkey by iainl · · Score: 2, Insightful

      In that case, could you fix the fact that your links column is completely over-writing the little box about the RSS feed on Firefox unless I make my browser window huge?

      --
      "I Know You Are But What Am I?"
    15. Re:Disable Greasemonkey by masklinn · · Score: 5, Insightful
      I don't believe that's what he meant. His concern was that he wants his information presented a certian way and to leave it that way preventing others from changing it into something he didn't intend or desire for his content.
      And it's not how it's supposed to work.
      You can suggest, tell the visitor 'look, this is supposed to look like that', but ultimately the choice is the user's, just as in a book the reading order is merely a hint, if one wants to read the book backwards more power to him, and the author is not supposed to come at him with a big stick saying "no no, you're not supposed to read backwards, you can't skip pages either or i'll beat you to a bloody pulp you crackwhore", which is exactly what mfh intends to do...
      --
      "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
    16. Re:Disable Greasemonkey by zoloto · · Score: 2, Insightful

      I'll get modded into oblivion, but screw it.

      This doesn't make any sense. How is the user capable, or how has the user been capable to display information on the Web (not the internet, just a part) with a web browser.

      Remember, this like this never happened before this FF extension, so where do you come off saying that?

      People write web pages, the browser displays them. Similar to the television, yet far more versatile, it simply displays a site how the designer attended. How has this been difficult to understand?

      Not that I'm against this plug-in, I find it interesting however, but don't understand where you're getting your facts from. On the contrary, the comments on Slashdot so far seem to be this wild notion of "we do what we want", "information wants to be free" and my favorite general attitude "screw the man, I'll display my information the way I want".

      No. Sorry. It's not your information. It doesn't belong to anyone. Those that chose to display information a certain way are in their right to do such and lame excuses to justify the bastardization of their attempts to come off a certain way are the rant of the uninformed zealot with a "screw you all" mentality.

      Is it a wonder people here aren't terribly popular with employers and don't get the respect they deserve?

      It's not something everyone has to get all up in arms about. It's a presentation of information. If you don't like it, go somewhere else! If he chooses to display it and prevent this extension from running on his site, so be it! He's well within his rights to do such.

      It's not he evil DRM anal-retentive control the *AA's are trying to do so this won't work. For that kind of argument is just like the way anyone else was to lose if they mentioned something regarding Nazis.

      You lose... game over - looks like he won.

    17. Re:Disable Greasemonkey by SomeoneGotMyNick · · Score: 2, Funny
      Hell, if I want to print it out and use it as toilet paper, I will.


      Don't use an inkjet printer to do this. The sweat on the cheeks will cause the ink from the goatse.cx links to stain the skin and you'll become a walking advertisement at the next sun club event.

    18. Re:Disable Greasemonkey by mfh · · Score: 2, Informative

      (I actually like your site design, and I think it is great you are releasing your work under the GPL and your content under a CC license)

      Thank you! :-)

      I am getting killed by my comment about Greasemonkey, but I have to put it plainly to everyone:

      I provide my content with a Creative Commons license. Everyone is free to modify it. Everyone is free to use the code that generated the website (well soon enough, it's just about ready to be released) and everyone can use my RSS to reformat my site and syndicate it. Things like Google's toolbar that actually rewrites text to give their partners and advantage over my own affiliates, really bothers me. Things like this toolbar that lets you perform website automation (that could result in XSS/client-side script attacks) also has the potential for danger, IMHO.

      That's the reason I have sided against Greasemonkey on *my sites*. But hey, if you want to use it to get your Hotmail easier -- fine. But I wouldn't use Hotmail anyway. :-)

      --
      The dangers of knowledge trigger emotional distress in human beings.
    19. Re:Disable Greasemonkey by Darren+Winsper · · Score: 5, Interesting

      "Remember, this like this never happened before this FF extension"
      Bollocks. You could write bookmarklets, or user CSS files. Hell, you could disable CSS or Javascript, you could use a browser that displays things a certain way. You could write your own browser. You could use man-in-the-middle programs to rewrite code before it reaches the browser.

      The web is about information. The presentation of that information is ultimately up to the user.

      Having said all that, I should point out that I am somewhat uncomfortable with the blind adoption Greasemonkey is seeing. A lot of web sites use Javascript that makes assumptions about the structure of the page. By changing the structure of the page, you're going to potentially break pages that dynamically change themselves.

    20. Re:Disable Greasemonkey by sznupi · · Score: 2, Interesting

      Given the desing of your site (you completely forgot that somebody can use app background in the system other than white) I have no choice...

      --
      One that hath name thou can not otter
    21. Re:Disable Greasemonkey by Anonymous Coward · · Score: 2, Insightful

      I provide my content with a Creative Commons license. Everyone is free to modify it. Everyone is free to use the code that generated the website (well soon enough, it's just about ready to be released) and everyone can use my RSS to reformat my site and syndicate it.

      So you're ok with people modifying your content, but not your presentation? That's retarded.

      You do know that when someone uses Greasemonkey to alter your site, that's only for them, right? No one else is seeing it that way..

      Let me put it plainly to you: After the bits leave your server, you have no control over how they are displayed. Morally or tangibly. The sooner you come to grips with this concept, the easier your life will be.

      Your sole alternative is to replace all your site content with each page becoming an image. That is the only way you will ever prevent client-side layout alteration.

    22. Re:Disable Greasemonkey by AstroPup · · Score: 3, Informative

      Did you check out his site? He releases his stuff work under the GPL and his content CC.

      He even provides an XML feed for you to format to your hearts content.

      Yeah, big supporter of the MPAA/RIAA there!

    23. Re:Disable Greasemonkey by telbij · · Score: 4, Insightful

      It's not something everyone has to get all up in arms about. It's a presentation of information. If you don't like it, go somewhere else! If he chooses to display it and prevent this extension from running on his site, so be it! He's well within his rights to do such.

      Of course he's within his rights. The real question is what's the benefit to him? People using greasemonkey tend to be people who know what they're doing, so if they break something on a site they'll likely be able to fix it. But just like the article, there seems to be this paranoia that greasmonkey will run rampant and ruin everyone's browsing experience.

      Bah! When I go to the poster's website, you know what I see? Overlapping content because I don't run a 1024x768 window. I could fix it with greasemonkey, but that would be 'breaking' the designer's intentions.

      I'm a web designer, and I truly believe that a good designer knows better than a user how things should look 95% of the time... but if a user wants to override my design choices that is fine with me. Of course my sites may end up looking up broken and discombobulated, but why should that matter to me? Anyone doing that should know why things are broken, and if not than it's not really worth my time to worry about it. I'd rather have a few idiots think I'm a shitty designer than have my fellow web hackers think I'm a control freak.

    24. Re:Disable Greasemonkey by oneandoneis2 · · Score: 2, Insightful
      I write websites so I can present ideas to people. I don't want them to see my site the way they want to see it. I want them to see it the way it was meant to be seen.

      So I guess you're against popup blockers, spam filters, and other "internet filters" then?

      "I sent him two dozen emails selling viagra and porn because I wanted them to go to his inbox, not to his spam folder! How do I disable spam filtering toi make him see my email the way I want it seen??"

      "I put that popup code in the HTML because I wanted him to see a popup advert! How do I make popups appear when he's got a popup blocker??"

      Sorry, but as long as content is appearing on MY screen in MY web-browser following its download via MY bandwidth, I want to have the final say on what I see and how I see it, thank you very much.

      --
      So.. it has come to this
    25. Re:Disable Greasemonkey by emag · · Score: 4, Informative

      No. Sorry. It's not your information. It doesn't belong to anyone. Those that chose to display information a certain way are in their right to do such and lame excuses to justify the bastardization of their attempts to come off a certain way are the rant of the uninformed zealot with a "screw you all" mentality. ...

      It's not something everyone has to get all up in arms about. It's a presentation of information. If you don't like it, go somewhere else! If he chooses to display it and prevent this extension from running on his site, so be it! He's well within his rights to do such.


      I suppose from the above statements that you're opposed to the level of control most browsers ALREADY give over the display of content? To wit, in Firefox I can go to Edit->Preferences->General, and in there override fonts and colors so that the page's fonts, font sizes, and colors aren't used. I can choose to force links to be displayed with underlines. Under Edit->Preferences->Web Features, I can override popups, javascript, image loading, etc, as well as provide exceptions to most of those... Under Edit->Preferences->Advanced, I can control the resizing of images, force links to open in new tabs, etc. Additionally, if I set up proxies, I can force all my connections to go through privoxy, blocking ads and the like. I can also choose to not install flash, making websites that use it extensively stand out pretty sorely.

      All of these settings can be viewed as a bastardization of designers' attempts to display information in a certain way. And most of these settings have been around since the early 1.x days of Netscape Navigator. GreaseMonkey appears to be the logical extension of these settings to the CSS world.

      All the HTML markup in the world serves a single purpose---to suggest how a browser should display something to approximate what the originator had in mind. Nothing has ever said that HTML is an imperative command to display something ONLY one way.

      --
      "The urge to save humanity is almost always a false front for the urge to rule." --H.L. Mencken
    26. Re:Disable Greasemonkey by F�an�ro · · Score: 3, Interesting
      This doesn't make any sense. How is the user capable, or how has the user been capable to display information on the Web (not the internet, just a part) with a web browser.

      Remember, this like this never happened before this FF extension, so where do you come off saying that?

      I have been doing stuff like this with proxomitron for years. There are other tools that can do the same. If you did not know about them then you probably did not bother to look.
      But surely you do know that almost all browsers at least let the user change default colors and fonts.

      One thing I did with proxomitron was changing slashdot's color cheme to bright text on dark background for a while.
      other things were disabling animated gifs, turning flash animations into links, and so on.

      It is my browser, and I decide how it displays stuff.
    27. Re:Disable Greasemonkey by farker+haiku · · Score: 2, Funny

      Hell, if I want to print it out and use it as toilet paper, I will.

      Now I know a good use for Anncoulter.com

      --
      Your sig(k) has been stolen. There is a puff of smoke!
    28. Re:Disable Greasemonkey by Eternally+optimistic · · Score: 5, Insightful

      But your site looks bad on my browser, it is making assumptions about my screen that are incorrect. Why would you want to prevent me from fixing that?

      Your content is not displayed on your site, it is displayed on my computer, and you don't know my local parameters. What is there to gain, for anyone, by not allowing me to adjust for a mismatch there?

      --
      What keeps me going is my inertia.
    29. Re:Disable Greasemonkey by jonadab · · Score: 4, Insightful

      > I'm a web designer, and I truly believe that a good designer knows better
      > than a user how things should look 95% of the time...

      Yeah, maybe, but the *other* 97.384% of web designers *don't*. For starters, most of them are stuck in a brain-dammaged 1985-esque mindset wherein they pretend they're still working with an ink-on-paper medium. I've given up entirely on the idea of allowing websites to choose their own colors, and I've half a mind to take away their ability to choose their own layouts too, because most webmasters can't design a layout that works at different resolutions and with different text sizes if their lives depend on it.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    30. Re:Disable Greasemonkey by Anonymous Coward · · Score: 5, Insightful

      And it's not how it's supposed to work.
      You can suggest, tell the visitor 'look, this is supposed to look like that', but ultimately the choice is the user's,


      yes it is (the user's choice).. hasn't user-defined colors (or stylesheets in newer versions) been in graphical web browsers since pretty much the beginning?

      note to webmasters: if you DONT want people to alter your page on the client-side, code it strict, use css, and leave the annoying scripts, ads, popups, ani gifs and other crap out of it.

      once a site is on MY computer, i will do with it as i please. so long as i dont republish it, you can't piss and moan about it.

    31. Re:Disable Greasemonkey by mike2R · · Score: 5, Funny

      That reminds me of a holiday cottage I once rented in Wales. There was a note on the dining room door which said: "Please wear long trousers, not shorts, in this room."

      I've been slightly nervous of the Welsh ever since..

      --
      This sig all sigs devours
    32. Re:Disable Greasemonkey by telbij · · Score: 2, Informative

      No, people who use page modifying settings are not mostly people who know what they're doing. For example, there are readymade user-stylesheets for blocking ads. People want to block ads, but they can't be bothered to learn how to do it so that they know how to fix problems which are a result of ad-blocking.

      I'm sorry, but where's the evidence? I know tons of people who switched to Firefox, but not a single layperson installing extensions or user stylesheets. I've fielded hundreds if not thousands of complaints about my sites (at a large public University), many of which were due to some form of user error, but nothing ever sounded like the result of browser customization. My experience may be anecdotal, but it's based on 5 years professional experience over a diverse user base. What's your experience?

    33. Re:Disable Greasemonkey by Kopretinka · · Score: 2, Informative
      Scott, I'm short-sighted and I like my fonts nice and big, with the best readable font about 18pt on my current display. Why exactly does your site require me to use 180% zoom to get the text that I'm supposed to read there to the font size that I prefer to read? If you could, would you disable my browser's zoom capability (or window resize capability) so that your site always looks exactly as you want?

      The author controls what the site looks like by default, but the user may want to set the font size, the fonts themselves, the colors or indeed the layout as they wish, within their abilities of course. Those users know what they're doing and they don't affect your site's presentation for other users that don't do any tweaking. I expect that the ability to disable Greasemonkey like you do is a bug and will be fixed. 8-)

      --
      Yesterday was the time to do it right. Are we having a REVOLUTION yet?
    34. Re:Disable Greasemonkey by masklinn · · Score: 4, Insightful
      When you go to an art museum to you rearrange how the art is displayed?
      When I go to an art museum, nothing stops me from watching it though shades or a Kaleidoscope, or without my glasses. In fact, I can do whatever I want as long as I'm not bothering the other visitors (hint: I don't change the datas for any other visitor when I'm applying client side scripting or custom CSSs to a website)
      On top of that
      the point is that is he feels his web design is a work of art and he is trying to convey and spark certain feelings / emotions. artists can be fickle when it comes to their work.
      The primary goal of a website is not to convey "art", it's to convey and publish information...
      And as I (and other people) said, if I can't change the font colors, reorganize the page or whatever I want, how pissed the so called artist will be when I'll start using Links or Lynx to browse his website? or Netscape 2?

      Fact is, if you want your website to be set in stone and consider it a crime for anyone to modify what he sees on his computer without any impact on whatever the other may be fed you shouldn't be creating a website in the first place.
      You should be hacking rocks (even though sculptures can be broken or re-sculpted, you don't own them anymore as soon as they leave you) or painting (see above).

      The feelings/emotions are supposed to be conveyed to the reader. If the reader doesn't understand/want them, what are you going to do, try to force your own sensibility on him? Nice way to make him leave forever...
      --
      "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
    35. Re:Disable Greasemonkey by Physics+Dude · · Score: 4, Insightful
      A person or company has the right to display thier content however they please

      But they're not displaying their content. The client web browsers are displaying the content and they have a right to display however they please. :)

    36. Re:Disable Greasemonkey by masklinn · · Score: 2, Insightful
      Wouldn't that in fact lend itself to customization?
      That would help customizing, but a well served well designed streamlined well thought (features wise) website will have much less chances to get "client-hacked". The intention here (I hope) was to explain that a "perfect website" would lead the users to NOT customize it because it'd already fit their needs, which is the perfect opposition of the fully customization-disabling flash website.
      Mind you I think Flash is a great media format in a bunch of ways, blowing SVG and even a lot of video codecs out of the water (it's no quicktime, but it doesn't nag you on windows either)
      Well, saying that flash is great for videos and using quicktime as a video codec feels kinda... strange...
      What next, Real?
      --
      "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
    37. Re:Disable Greasemonkey by sootman · · Score: 2, Insightful

      "How is the user capable, or how has the user been capable to display information on the Web (not the internet, just a part) with a web browser... [things]* like this never happened before this FF extension..."

      Wrong and wronger. The *whole point* of the WWW is that a document is presented with a documented set of tags, and it's up to the user agent to specify how those tags get interpreted. The first browser I used (Chameleon, ~1995) had a panel for setting prefs on how you wanted to interpret tags. If you want H1...H6 to be interpreted as darker...lighter instead of bigger...smaller, that's OK. If you want <strong> to be big red blinking text, that's up to you.

      Furthermore, there are already tons of ways to control how a page looks. FF's web devloper toolbar lets you do all kinds of stuff. Browsers for quite a while have let you choose alternate style sheets, or none at all. There's even an FF extension that lets you *edit* the CSS on your page. No sense mentioning things like Links, Lynx, and screen readers, where most of the presentation information is completely stripped away.

      If the site host has an *idea* of how his information should be presented, good for him. But if I want to sit with my back to the screen and pay a friend to read it to me, is the designer gonna come beat me up? I bet you think going to the bathroom during commercials is stealing, too.

      "Those that chose to display information a certain way are in their right to do..."

      They can *send the bits to my computer*, that is it. It's up to me and my software to interpret them as I wish. Remember, *he's* the one who posted his work in a public place. If he wants to be an anal-retentive, user-fighting dickwad, he can make PDFs. Just don't tell him I own the full version of Acrobat and can edit PDFs, too.

      * it seems like "things" was what you meant to say here.

      --
      Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
    38. Re:Disable Greasemonkey by topper24hours · · Score: 2, Insightful

      AGREED!!!! This "I make no errors" idiot has one of the worst formatted pages I've EVER had the displeasure of viewing. That he'd be the one to go on a rant of "I'm not allowing others to change the way they view my information/art" is laughably ironic.

    39. Re:Disable Greasemonkey by GMFTatsujin · · Score: 2, Funny

      Speaking of mistakes, can somebody please write a Greasemonkey script that corrects instances of your/you're, there/their/they're, and misplaced apostrophies?

      Talk about taking the web back. Sheesh.

    40. Re:Disable Greasemonkey by Anonymous Coward · · Score: 2, Insightful

      Leather furniture perhaps? Some tenants can be awful sweaty and actually stain the leather. Seriously nasty. Basically, instead of putting ugly slipcovers on everything, they're asking you to wear your own.

    41. Re:Disable Greasemonkey by julesh · · Score: 2, Informative

      By changing the structure of the page, you're going to potentially break pages that dynamically change themselves.

      Fine. But script developers are going to see this, realise that their script doesn't work and either (1) fix it, or (2) abandon the idea. If the problems are more subtle, then the user's going to know they installed a script that's changing the page, and are going to try disabling it first to see if that fixes the problem...

      This is a power user feature, not something your average newbie is going to install and use straight away...

    42. Re:Disable Greasemonkey by jayloden · · Score: 2, Informative

      I must agree...I've got 1920x1200 resolution right now, which is normally ridiculous for me - I prefer something like 1280x1024 - but with my current video card and monitor, that's the only non-weird setting I can use.

      Subsequently, the site looks very odd and appears to have rendering problems (missing navigation links, etc).

      I can sympathize totally with the desire for the site to look the way you designed it...I've spent hours and hours and hours doing this on the sites I work on, trying to make sure they look the way I intended them to, even if the person uses really big fonts, etc.

      I once tried to force font sizes, etc. But eventually I came to the conclusion that people are determined to do bizarre things, like view the site on an 800x600 resolution with font size set on LARGEST for IE (maybe some new glasses are in order?), etc. So now I take the approach of designing the site to look pretty much the same no matter how absurd (from a designers point of view) your font choices or screen size. I have http://philambdaupsilon.org/ and http://jayloden.com/ both set up to work this way at the moment (at least I hope so, I can't test everything!).

      I still cringe to think that someone would be viewing my site so bizarrely, but I've given up on trying to prevent it. I just try to make sure the site degrades gracefull if viewed with text browsers, huge resolution, tiny fonts, huge fonts, etc.

      -Jay

  2. Paid articles? by akadruid · · Score: 4, Insightful

    If other articles are drawing notice to free registration for articles such as the NYT, why is this one linking to an article trying to charge $34?

    --
    "Those who cast the votes decide nothing; those who count the votes decide everything." (attrib. Joseph Stalin)
  3. "Not without controversy" by glesga_kiss · · Score: 5, Insightful
    It should be noted that Greasemonkey is not without controversy, but this has done nothing to reduce its popularity among web programmers.

    It should also be noted that the person claiming controvesy is also charging $49.00 for the "research" he has written. Do people buy these things?

    Any, the summary of it reads as basically "users might install extensions that don't work with your own corporate pages". Personally, if an end user is installing applications without understanding the implications, you should ask whether that user should be allowed to install applications. The "researcher" claims that this risk should delay Firefox roll-outs in the enterprise.

    1. Re:"Not without controversy" by tweek · · Score: 5, Insightful

      The real problem is blanket deployments of firefox as is.

      You wouldn't deploy IE without locking it down so why not firefox?

      We have a deployment of about 2000 workstations with a highly customized build of firefox out there. I say customized but what I mean is that it's had various GUI elements stripped, keyboard shortcuts stripped and implements locked preferences. One of those preferences is software install. The only site that can install software is our internal update site.

      Somebody paid him to write this, possibly as part of an internal migration plan but he failed to notice that in a corporate environment, a well thought-out mozilla implementation would implement things like locked preferences and other customization. Combine this with workstation security and his point is probably moot. I'm not going to spend 50 bucks to find out.

      --
      "Fighting the underpants gnomes since 1998!" "Bruce Schneier knows the state of schroedinger's cat"
    2. Re:"Not without controversy" by Peter+La+Casse · · Score: 3, Insightful
      It should also be noted that the person claiming controvesy is also charging $49.00 for the "research" he has written. Do people buy these things?

      Well, if a small fraction of people actually buy things that are advertised by spam, then maybe a small fraction of people are willing to pay $49 for a web article.

      I have to admit that I'm tempted to throw up a site with a couple essays just to see if anybody would actually pay me $49 to read them.

    3. Re:"Not without controversy" by DisKurzion · · Score: 2, Insightful

      We have a deployment of about 2000 workstations with a highly customized build of firefox out there. I say customized but what I mean is that it's had various GUI elements stripped, keyboard shortcuts stripped and implements locked preferences. One of those preferences is software install. The only site that can install software is our internal update site.

      So why not make this build a public release?

      Corporate Firefox anybody? Sounds like a winner to me.

  4. Let's use this to our advantage by Quarters · · Score: 5, Funny

    Who's going to write the "Hide Roland Pipe" stories from Slashdot.

    1. Re:Let's use this to our advantage by Anonymous Coward · · Score: 5, Informative


      already been done

      see how much people dislike that geeza ? if this was a pub he would of been slapped up and kicked out a long time ago

    2. Re:Let's use this to our advantage by fuyu-no-neko · · Score: 2, Funny

      Alternatively, how about a script that puts the CowboyNeal option back into the /. polls ;o)

      --
      Don't take the above poster too seriously. He doesn't.
  5. It is invaluable. by NoMoreNicksLeft · · Score: 5, Interesting

    For several months, I labored under IE. 20 windows open everywhere, because it has no tabs. Even though I had managed to install Firefox (don't you love apps that don't require registry keys?), it was no help, because the applications department writes javascript that looks like it was squeezed from between Ballmer's asscheeks.

    It was difficult. Took me two months of working with greasemonkey, of 3 minutes stolen here, and 5 minutes borrowed there in between calls (did I mention I'm only a phone monkey for a DSL ISP?). But in the end, not only can I use our main webapp in Firefox, it has features that the standard one doesn't. It often helps to shave up to a minute off of calltimes.

    Which may be why I'm in trouble for using Firefox at that job. Dunno.

  6. Re:Excellent Idea, but breaks Websites by NoMoreNicksLeft · · Score: 3, Informative

    You know you need to disable those default scripts that come with the extension, right?

    Or at least set them so they don't execute on that particular site...

  7. Choice quote from 'Dive Into Greasemonkey' by JaF893 · · Score: 5, Funny

    You can fix rendering bugs that the site owner can't be bothered to fix themselves.

    Could be useful for Slashdot then :)

    1. Re:Choice quote from 'Dive Into Greasemonkey' by Mike1024 · · Score: 2, Informative

      Could be useful for Slashdot then

      Well, I'm sure pleased with the Slashdot Recolour script...

      Michael

      --
      "Goodness me, how unlike the FBI to abuse the trust of the American public." -- The Onion
  8. content debate by enjahova · · Score: 5, Insightful

    Websites are a strange medium. Things like greasemonkey and adblock and google toolbar have been spurring these debates about content control.

    I would not be suprised if this debate grew bigger as the popularity of client side controll apps gets bigger.

    Alot of people want their webpage to look the way they intended it to look, but I think the truth is that you can not count on that. Different browsers, different computers, different monitors...

    I am in favor of client side tools, I think that a user getting the best use possible out of a site is a good thing, in fact that is my goal when designing a website. If they think they can do it better, be my guest.

    --
    "how can they call it a MINE if everything here is THEIRS?!?!" -Straight Jacket
    1. Re:content debate by NoMoreNicksLeft · · Score: 4, Funny

      The solution is obvious. Render the page as a jpeg, and then just have a directory full of jpegs! You can even use server-side image maps for hyperlinks!

    2. Re:content debate by FhnuZoag · · Score: 2, Insightful

      Or use flash/java applet based interfaces.

      I'll point out, though, that such things tend to really piss me off.

    3. Re:content debate by aaronl · · Score: 2, Insightful

      Oddly enough, the presentation being decided on the client-side was EXACTLY the intent of HTML. Stuff like GreaseMonkey, AdBlock, user CSS, etc. is supposed to be possible. The user is supposed to decide how the HTML will ultimately be output.

      That's why the Flash infestation is bad. It's why WWW content control is bad. It's why PDF instead of HTML is bad. It takes away output control from the user. It takes away the whole point of these markup languages.

  9. Safari by sameerd · · Score: 4, Informative
    This is not specific to Firefox and Opera. One can use Applescript to make Safari to run Javascript on webpages. From http://www.apple.com/applescript/safari/ we have
    Safari now includes a do JavaScript command that enables AppleScript to communicate with the browser via JavaScript!
    1. Re:Safari by shutdown+-p+now · · Score: 2, Insightful

      The difference is that Opera scripting system is backwards-compatible with Greasemonkey, thus setting a precedent for GM to become a de-facto standard for such things.

  10. What do you mean? by smittyoneeach · · Score: 2, Insightful

    Just publish your site as a collection of image files.
    That'll teach them young whipper-snappers!

    --
    Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
  11. Greasemonkey is still in its infancy by tezza · · Score: 4, Interesting
    I've been an active member of the Greasemonkey mailing list. Mark Pilgrim is a very regular contributer there.

    One very interesting thread has been misuse of Greasemonkey(GM). GM allow script authors to use an XML_HTTPrequest() type functionality. This is often to look up information services, such as google, de.li.ci.ous, weather etc.

    With a poorly coded script, there could be thousands of http connections spawned per page transition. A DDOS of sorts. This will be an interesting one to tackle.

    Any ideas out there??

    --
    [% slash_sig_val.text %]
    1. Re:Greasemonkey is still in its infancy by schon · · Score: 2, Interesting

      Limit the number of outgoing HTTP requests? Throttle the rate of HTTP requests?

      I'm thinking that either of these would cause the author to blame Firefox or GreaseMonkey for being 'slow'. If someone is clueless enough to not understand the technology, it's likely that they'd be so clueless as to blame Firefox (or possible GreaseMonkey) for any problems they encounter.

      I'm thinking it would be better to throw up an error message (explaining what's going on, and providing a link to a page explaining why it's a bad idea.)

  12. Greasemonkey needs to inject scripts sooner by bgarcia · · Score: 5, Insightful
    I recently started playing around with Greasemonkey. I love it, but there is one issue that I have with it. It injects its scripts at the end of the web page.

    I have a web page that runs a little javascript at the end, where it pops up an alert window, then redirects to another page. I would like to write a greasemonkey script to remove this redirection. Unfortunately, the page's javascript gets run before greasemonkeys. Any ideas about how get my greasemonkey script to run sooner?

    --
    I'm a leaf on the wind. Watch how I soar.
    1. Re:Greasemonkey needs to inject scripts sooner by DustMagnet · · Score: 2, Informative
      I love it, but there is one issue that I have with it. It injects its scripts at the end of the web page.

      I use Proxomitron. It is much like greasemonkey, but it uses regular expressions. There are plenty of "scripts" included and many run at the top of the page to disable problem javascript.

      --
      'SBEMAIL!' is better than a goat!!
    2. Re:Greasemonkey needs to inject scripts sooner by bgarcia · · Score: 3, Informative
      I use Proxomitron. It is much like greasemonkey, but it uses regular expressions.
      I've used proxomitron too. It doesn't have this problem because it runs as an HTTP proxy, so it changes the web page before the browser ever sees it.

      But the problem I have with proxomitron is that it's a bunch of regexp matches instead of a scripting language. I've yet to figure out how to get a regexp match that spans more than one line as well. But yes, proxo works well for my particular complaint about greasemonkey.

      --
      I'm a leaf on the wind. Watch how I soar.
  13. Dangers of Greasemonkey by darkmyst · · Score: 5, Informative

    In order to avoid $50 articles, I found this article which did talk about some potential security problems with greasemonkey. It seems hackers could make scripts that behave maliciously. According to the article, even the original greasemonkey developer has expressed concerns along those lines.

    1. Re:Dangers of Greasemonkey by SenFo · · Score: 3, Interesting

      Thanks for the post. I was trying to find a way around the $50 article, myself!

      On to the topic, I have to say that I agree with the potential for problems. However, I have to wonder if Greasemonkey is perhaps "complex" enough that only a true geek would be interested in playing around with it. There aren't many computer geeks that I know of that are going to just go around installing every script they find without first reading nearly every line of the source code. We're geeks and we like to see how things work ;-).

      Personally, I wouldn't be surprised if later releases include the ability to check for valid signatures on code. We'll see...

      All-in-all, I think it's a great idea. I'll have to read through the documentation and see what kind of goodies I can come up with!

  14. Re:Does it something like Bookmarklet ? by masklinn · · Score: 3, Insightful

    It does, basically user scripts (Greasemonkey or Opera) are bookmarklets automatically executing when you browse a specific site (pattern matching allows the browser to execute the userscript that should be upon entering the website).

    Oh, and there is no limit in a user script size, which isn't the case of a bookmarklet (even though you can execute external scripts from a bookmarklet)

    --
    "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
  15. password power? by MrLint · · Score: 4, Interesting

    Is this sting powerful enough to take back control of your passwords? The day that autocomplete became enforced users lost the power to manage their passwords. can GM be used to removed this directive?

  16. Re:Excellent Idea, but breaks Websites by markus_baertschi · · Score: 2, Informative

    It looks like this was a partial example of the problem sitting between chair and screen.

    The particlar site is using iframes and GreaseMonkey summarily hides those tags in its default configuration. Excluding the site manually brings it back to life.

    However, this means GreaseMonkey becomes thus a Geek-only tool. I can not ask of my mother or wife to know about such problems and manually configure exceptions if things don't work.

    Markus

  17. Opera and user scripts by nafmo · · Score: 5, Insightful

    "Even Opera has jumped on the bandwagon with their own version of user scripts." Well, considering that Opera previewed a similar technology back in early 2003, I'm not so sure you could call that "jumping the bandwagon". But still, it's a nice edition, both to Firefox and Opera.

  18. Crap by mfh · · Score: 5, Funny

    Hell, if I want to print it out and use it as toilet paper, I will.

    Now that you've said this, everyone is going to use my site as TP. Thanks, buddy.

    --
    The dangers of knowledge trigger emotional distress in human beings.
  19. Were you trying to be ridiculously jerky?? by QMO · · Score: 4, Insightful

    "It is nothing personal, it is just business and honestly, my paycheck, not my morals, dictate my work environment."

    The second worst thing about that statement is that you sound as if you mean it.

    The worst thing is that you sound as if you're proud of it.

    This attitude causes most of the suffering and evil in the world. The relatively few people who actually have the goal of harming others wouldn't get very far without lots of wimps with this attitude.

    (I may just be troll feeding here, but I still had to call it.)

    --
    Exam 4/C again. Maybe I'll do better this time.
    1. Re:Were you trying to be ridiculously jerky?? by Anonymous Coward · · Score: 2, Insightful

      "This attitude causes most of the suffering and evil in the world."

      Are you comparing deploying in-house apps that only work with IE to some of the "evils" in the world?

      Where the hell did that come from. It sounds like you need a sense of scope in your life.

      Writing browser specific web pages is not genocide, apartheid, or a ruthless dictatorship.

      Sorry, but when my boss says to get project X done asap, and asap means FF users are out of luck then such is life, FF users are out of luck.

    2. Re:Were you trying to be ridiculously jerky?? by hankaholic · · Score: 2, Insightful

      I'm a little unclear on how a developer who implements what will most benefit the client is evil and causes suffering.

      --
      Somebody get that guy an ambulance!
  20. Pfeh. by Grendel+Drago · · Score: 2, Insightful

    If someone can't view your site as influenced by some Greasemonkey script or another, it's their fault and their problem. Not yours. You go ahead and provide standards-compliant, semantic markup, and folks'll use it as-is or filter it through something like Greasemonkey.

    What's next---are you going to tell people they can't visit your site using lynx, or with images turned off, or that they can't change their font size, so they'll have to squint like everyone else?

    What's the point of making it harder on your users, of taking away functionality from them?

    --grendel drago

    --
    Laws do not persuade just because they threaten. --Seneca
  21. There is a well-hidden point in here by FhnuZoag · · Score: 2, Insightful

    Reading the referenced blog entry, there is a good point to be made where GM breaks sites. The point of standard compliance is that consumers are free to see the output that the producers intended, not that consumers would be forced into one way of working, and enjoying content. Now, so long as the default behaviour (i.e. no GM installed) is fully compatible, this doesn't seem to be a problem. (Maybe linkify should be disabled by default.) We need to ensure that users know what modifications they are making to how websites display, and also know how to add to blacklists and stuff to solve the problem when things go wrong. We shouldn't just categorise this as a consumer vs producer struggle - that's just silly. GM script writers and website owners should be working together, to benefit the user. 1. User scripts need some sort of verification process. Something to guarantee safety, to the casual user. Perhaps some centralised list of checksums for 'certified' user scripts. 2. Websites should be able to check for what user scripts are installed. Not so as to ban them, but to provide a message that 'The scripts you are using are known to be incompatible. For optimal results, please turn them off.'

  22. Platypus by Dr.+Pain · · Score: 5, Informative
    Platypus (http://platypus.mozdev.org/) is an extension for visually editing web pages to your liking and then creating a Greasemonkey script that will repeat those changes the next time you load the page. It's Greasemonkey without the programming, if you will.

    "One of the most jaw dropping extensions that I have seen to date." --Anders Conbere

    Check it out.

    -- Scott Turner

    1. Re:Platypus by jbarr · · Score: 2, Interesting

      Thanks for the tip on this! This is a VERY cool extension!

      One thing I REALLY like it for is printing pages that typically contain a ton of crap. Just invoke Platypus, highlight the containing section you want to print, press the "i" key, and voila! all surrounding content is removed! Click print, and you get a nice clean page of content. Talk about printer-friendly!

      Want to see the original? Just hit refresh and everything's back to normal.

      --
      My mom always said, "Jim, you're 1 in a million." Given the current population, there are 7000 of me. God help us all!
  23. Re:Buy The Research? by AndroidCat · · Score: 2, Funny

    At that price, I think I'll bye the research.

    --
    One line blog. I hear that they're called Twitters now.
  24. Re:Buy The Research? by QMO · · Score: 2, Insightful

    "Or, is my exam fragmented brain missing something that should be obvious?"

    I don't know for sure, but it seems obvious to me.
    The "Executive Summary" is so full of unsubstatiated assumptions and blatant slant that it is unlikely that the "research" would actually contain any real information.

    (I suspect that this kind of "research" is used to support forgone conclusions that need a little extra credibility to show the ignorant.)

    --
    Exam 4/C again. Maybe I'll do better this time.
  25. Solution for you by cmosses · · Score: 2, Funny

    Make every single page one colossal image with an image map for links! That way there's not much the user can do, and you are victorious in your subjugation! Or: relax.

  26. Infinite developer headache by Anonymous Coward · · Score: 5, Insightful

    If you're writing static webpages, so what? It won't affect you.

    If you're writing server-side scripting, you should already be paranoid-checking for bad user submissions. Time to double-check everything is in place.

    If you're writing client-side scripts, welcome to hell. You can no longer assume anything will be where you put it, or, in fact, still exist.

    What's more, you can't test your site "with greasemonkey" to see if it's OK. You have no idea what the user is going to do to your page with it.

    This leaves a handful of options:

    1) Make your scripts disable Greasemonkey (which will work until too many sites do it, and it's updated to allow users the final say)

    2) Switch productive time fixing bugs and adding features to adding and subsequently wading through checks on every possible error condition that user scripts might make possible.

    3) Ignore Greasemonkey and when the users complain your site is broken, inform them it's their own stupid fault.

    My personal leaning is towards (3).

    1. Re:Infinite developer headache by gowen · · Score: 2, Insightful
      If you're writing client-side scripts, welcome to hell. You can no longer assume anything will be where you put it, or, in fact, still exist.
      Which you couldn't actually before, either. The advantage is, now you're aware of it.
      --
      Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
  27. Greasemonkey Is Not Without Controversy by Junior+Samples · · Score: 3, Interesting
    Buy this research Price: US$49.00 Report Length: 3 pages Buy This Document You will have immediate access to this research upon purchase. Already a Forrester client? Log in. Our Money-Back Guarantee If you are not completely satisfied with your research document for any reason, you can return it for a full refund within three weeks of your online purchase.

    I won't pay $49 to find out what the controversy is all about, but Greasemonkey sounds good enough to download and try out.

  28. I'm worried that greasemonkey has security flaws by DeadSea · · Score: 4, Insightful

    Despite how useful it is, I have some concern with GreaseMonkey and your browsers security.

    The basic problem I see is that user scripts are plug-ins to to a plug-in. User scripts could do things that would be bad for security such as:

    • Grab user entered information such as user names, passwords, or emails.
    • Be part of a DDOS attack by contacting some server repeatedly
    • Insert unwanted content such as ads or tracking into every page visited

    GreaseMonkey does not use the white list of sites allowed to install plugins and allows user scripts to be installed from just about anywhere.

    I'm worried that somebody could set up a repository of user scripts that appear to do useful things but have spyware embedded in them. Users would install GreaseMonkey user scripts from the site thinking they were getting useful functionality but not realizing they were getting additional "goodies".

    I don't install user scripts without knowing how they work and looking over the source myself. Preferably, I write my own. I don't see most users being able to do that sort of analysis. Hence the danger.

    --
    Currency Calculator to Calculate Rates of Exchange for Foreign Currencies
  29. MBTA extension for Google Maps by kayle · · Score: 5, Informative
    My favorite use of Greasemonkey is the mojoDNA extension of Google Maps to include Boston's public transportation, the MBTA. It's completely seamless!

    Dev. website:
    http://mojodna.net/2005/04/19/mbta-maps/
    Direct link to the Greasemonkey script:
    http://maps.mojodna.net/mbta/mbta_google_maps.user .js

  30. Not far from the truth by Tony · · Score: 2, Informative

    Make every single page one colossal image with an image map for links!

    Funny you should mention that. My first introduction to FrontPage was working on a non-profit website. They wanted me to make some "quick changes" to their site. I looked at their site-- it was a GIANT IMAGE of a webpage (text and all), with image maps and rollovers for links. The page could have been laid out with tables with no problems (this was in the ugly days before the DOM and CSS), but their previous web designer opted for this lame method.

    So, it is a method that has been used before. Damn the unpredictable nature of the web! Double-damn user control!

    --
    Microsoft is to software what Budweiser is to beer.
  31. this is why... by hachete · · Score: 2, Interesting

    ...I love FireFox and it's programmers. If only some companies displayed half the amount of ingenuity.

    --
    Patriotism is a virtue of the vicious
    1. Re:this is why... by plasticmillion · · Score: 3, Informative

      It should be pointed out that the people who created Greasemonkey are in no way connected to Firefox. The really brilliant thing that the Mozilla folks did was not to think of ideas like Greasemonkey, it was to deploy an architecture open enough to let other people extend the browser in unexpected directions. In my view this is by far the most revolutionary thing about Firefox, and what we see today is only the tip of the iceberg. Once more programmers become familiar with the Firefox model and better IDEs become available, we're going to see some really incredible stuff.

  32. NOT a derived art... by mobiGeek · · Score: 4, Insightful
    altering a webpage makes it derived art

    Using Greasemonkey or ANY OTHER WEB CLIENT other than the one(s) the author is targetting does not make this a derived art. The original is still in its badly conceived format.

    The problem here is that a large number of web "developers" believe that they can control the user's experience. The reality is that this is completely contrary to the HTML standard.

    HTML is a method for giving structure to a document. CSS is a method of suggesting look-and-feel of the document. However, NOTHING prevents me from using an arbitrary web client (note: a "browser" is just one type of web client) that will display the structured document in some other way.

    If you are designing a page/site in such a way that you try to force a given look-and-feel to everyone, you are limiting the usefulness of your site...not improving it.

    --

    ...Beware the IDEs of Microsoft...

  33. More work for me! by orionware · · Score: 2, Funny

    Great. Now when client call with complaints that data is either being corrupted via contact form or I can honestly look them in the eye and say, "It's the users fault!"

    --


    Karma means nothing to me, so suck it...
  34. Conspiracy by el_jake · · Score: 2, Funny

    We now know that All Peers are infected with the 12 Grease monkeys.

    James Cole

    --
    In order to form an immaculate member of a flock of sheep one must, above all, be a sheep.
  35. I Love the Sound of Breaking Business Models by Johnny+Fiction · · Score: 5, Interesting

    The costly security report is just a money-making troll but there is one issue raised by greasemonkey that may worry a lot of content providers.

    Blocking adverts is old hat but greasemonkey lets you do so much more. It offers you the potential to inject links to products from a rival vendor when browsing an online store or rewrite affiliate link ids on a page, to give two examples.

    This is going to break a few business models.

    Personally I'm not going to shed any tears. Many businesses have completely misunderstood the nature of the web and just seen hyperspace as somewhere else to stick up billboards. Those that can't evolve will die. But when you consider how upset certain people get if you want to just view their site in a manner they hadn't planned on, then we can definitely expect fireworks in the near future.

    There's a very heated discussion between Cory Doctorow and Robert Scoble that touches on these issues at http://www.itconversations.com/shows/detail438.htm l about these issues, albeit in the context of Google's Autolink rather than greasemonkey.

  36. MOD PARENT UP!!! by ultranova · · Score: 2, Interesting

    If a website can freeze your browser, maybe your browser isn't the praise-jeebus-it's-here-gift-from-god the fanboys make it out to be.

    You are absolutely correct. A web browser is a tool for displaying data from an unknown - and therefore untrusted - source, namely the Web. It should never freeze, crash or overflow, no matter what garbage is fed to it.

    If Firefox indeed does crash when attempting to view this web page, then this issue needs to be fixed immediately, since not fixing it makes Firefox untrustworthy and thereby completely useless.

    Naturally, the same goes to any Net facing app. If the input comes from untrusted source, then it must be considered potentially malicious, and treated with appropriate paranoia.

    --

    Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

  37. Back in my day... by discHead · · Score: 2, Insightful

    "...it shifts the balance of power from content creators to content consumers."

    Shouldn't that be back to content consumers? Am I mis-remembering, or wasn't there once a time when Web browsers had built-in functionality to actually let users customize how certain tags got rendered in the browser window (fonts, colors, etc.)?

  38. Re:Fucking Moron by masklinn · · Score: 2, Interesting

    Possible, yes, probably, easily I doubt it, GM is heavy Javascript/DOM tuning. You can find Greasemonkey on The Extensions Mirror BTW, and you may want to check Platypus, which is basically an "interface" to Greasemonkey (allows you to modify a website, and if you need it you can save your modifications as a GM script)

    --
    "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
  39. Re:Parent makes very good point by digitalprimate · · Score: 2, Informative

    Forrester is another Beantown research company (and not a particularly good one, IMHO) focused on tech. Some of there reports run into the thousands of dollars, so this one's a cheapy by their standards.

  40. Obligitory Mirror post... by douglask · · Score: 2, Informative

    As GreaseMonkey.MozDev.Org is slashdotted, here's the obligitory link to get Greasemonkey:
    Install/Download GreaseMonkey

    Enjoy!

    --
    DouglasK Do Justly. Love Mercy. Walk humbly with your God.
  41. Script Request: IMDB & Netflix Partnership by ClioCJS · · Score: 2, Interesting
    When on Netflix, I want a link that takes me to the IMDB summary for that movie.

    When on IMDB, I want a button that lets me queue the movie I am currently viewing in Netflix.

    This might exceed the scope of what's possible with GreaseMonkey. Any movie-maniac/programmer-maniac takers?

    --
    -Clio
    Karma: Bad (mostly from not giving a fuck)
    Blog: http://clintjcl.wordpress.com
  42. Re:um which one? by Alsee · · Score: 2, Informative

    which article costs money to read?

    This one. In the slashot story it is the link on the word "controversy".

    There's a one paragraph blurb claiming "But IT managers beware: Greasemonkey will cause you nothing but headaches, and may even be a good reason to delay that Firefox pilot you're planning", but giving absolutely no reason. If you look on the right it says:
    Buy this research
    Price: US$49.00
    Report Length: 3 pages


    I really don't think Slashdot should bother linking to a page with absolutely NO information on it and requesting a payment to get info.

    -

    --
    - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  43. Re:Screenshot? by jayloden · · Score: 2, Interesting

    On a more serious note, the site does have some problems when viewed by links/lynx - the navigation is totally invisible to a text based browser, or a screen reader used by a disabled person.

    see http://jayloden.com/scottleonard.png for a screenshot of what you'd get in a text based browser.

    This is the problem with jscript DHTML menus, they're no good if you intend compatibility with accessibility standards or text browsing.

    -Jay

  44. art/artist by Doc+Ruby · · Score: 2, Insightful

    The point of a website can be different for its producer than for its consumer. The producer's point could be to express themself, which requires consumption in exactly the style they publish. The consumer's point could be to get the factual information, regardless of its presentation style, or even for restyled representation. The fact that most web content is inseparable from its presentation style means that you, the graphic designer, are necessary for both points, even if the consumer doesn't share the "style" point.

    The "point" it seems that you are missing is that the value of the webpage to the consumer can exclude *you*, even if you don't like that.

    --

    --
    make install -not war

  45. Re:I'm worried that greasemonkey has security flaw by jdunck · · Score: 5, Informative

    Greasemonkey scripts are bound by the same restrictions as any other javascript.

    No, they aren't. They are inserted into the code of another site's pages, therefore they get local access priveleges over those pages.

    I'm a dev on GM, and I'd like to shed some light.

    First, yes, GM is in the same security sandbox as the page script. It does not run as local script.

    The threat model of a user script is the very same as a bookmarklet, except that user scripts get injected without clicks, meaning that the user could forget about some installed script.

    If someone installs an Evil(tm) script, it can run on pages that the evil person doesn't control, and provide data back to the evil person.

    Note that such evil can be delivered in other ways (bookmarklets, toolbars, etc) which are trojans. You should consider every user script as a possible trojan. So yeah, don't install scripts that do evil things, and if you're not sure, don't install.

    We're working on a community-policed user script directory which can confer some level of trust. It's not ready yet. We were slashdotted a little too early. ;) The wiki page (when it's back up) was something I put up when I first saw GM, because it clearly needed some sort of directory to get some momentum. It's now a stopgap until something more structured is completed. You might try delicious as another directory.

    Also, Greasemonkey supplies some interesting functions to the user script context, including GM_xmlhttpRequest, which allows cross-domain page requests. Couple this with GM_setValue and GM_getValue, and a user script can indeed very effectively share data between different web apps. Before you wail in terror, note that information could be sent to evil third-party domain already by using scripted image tags, iframes, and form posts. GM only opens up an easier way to share data; it does not allow anything that's truly new in this respect.

  46. GMail greasemonkey scripts causing gmail lockout? by sushi · · Score: 2, Interesting

    ... so yesterday I installed greasemonkey with the gmail delete script.

    Today I'm locked out of gmail for a suspected breach of T&C. (yep, a 'lockdown in sector 4!')

    I contacted gmail and they have unlocked me, but I wonder if it's related?

    --
    --- cut: Eat well, exercise, die anyway.