Results 1 to 5 of 5

Thread: How ethical to use Javascript libraries that are available on the net?

  1. #1
    Join Date
    May 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How ethical to use Javascript libraries that are available on the net?

    I want to do something with JavaScript on my website but don't know how to implement it, but i've found it has already been written by someone and is available to download free as they've put it on net.

    So is it right morally to use something that someone has already been written? does this count as cheating? does it infringe any copyright?

    Super Bowl hotels
    Last edited by Zavdieli; 05-24-2012 at 08:33 AM.

  2. #2
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,891
    Thanks
    2
    Thanked 441 Times in 435 Posts

    Default

    credits should be left intact(or a reference to the source)
    it should not sold or distributed for gain.
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

  3. #3
    Join Date
    Apr 2012
    Location
    Chester, Cheshire
    Posts
    329
    Thanks
    7
    Thanked 35 Times in 35 Posts

    Default

    It all depends on the copyright the author has left with it. The unwritten programmers ettiquette dictates that you should leave any annotations intact and give credit to the author within your own work. Copyright, Copyleft or other reservations may have been left by the author that will have extra stipulations.Code may be protected by a GNU/GPL Licence, a Creative Commons Licence or a proprietory licence. Any source code with a proprietory licence available to view online should be looked at very suspiciously.

    Sample code on forums such as this one is pretty much fair game unless stated otherwise.

  4. #4
    Join Date
    Apr 2012
    Location
    Chester, Cheshire
    Posts
    329
    Thanks
    7
    Thanked 35 Times in 35 Posts

    Default

    Code:
    // This script is copyritd by me unda proprietory licence. If yoozz wantz too use my c0d3, yoo muzt giev mee piles o'money! If yooz haz this code in yor werk, yooz owe mee wonga! pay now or be 4eva sood.
    
    var doSomething() {
        // Do something.
    }
    Otherwise, people could do this. Not that it stops them, but we usually ignore script kiddies like that.

    If you're majorly concerned about copyright infringement, which you shouldn't be, ask the author directly.

    For use in personal projects or for self learning purposes, don't worry too much about acknowledgements. If it's only you who'll see it then nobody cares. Likewise, if you're using someone's code, then adapt it to fit your project, then change the variable names and values and add some new objects etc, you no longer need to have the acknowledgements for the original code; as it's now more your code than theirs.

  5. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    If it is available for download (like the scripts on this website) then you should have no problems using it (according to whatever Terms of Service it has, like maybe not for commercial purposes). But if you need to take apart the website to find all of the code (eg, looking through source code, figuring out how it works, saving the files manually), then clearly that's not meant for distribution.

    If you're uncertain, ask. If it is not intentionally made available to you, then using it without permission is copyright infringement, yes.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •