Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 53
  1. #31
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,729
    Thanks
    202
    Thanked 2,507 Times in 2,485 Posts
    Quote Originally Posted by pratto View Post
    leaving the personal needling behind (hopefully), and back to the original question - doesn't just putting your JS in a referenced .js page effectively keep it from being viewed with source code ?
    No. The file is in the user's cache and can easily be viewed.

    Just type the url of the external file into your web browser's address bar.
    The url will be the website name followed by the src of the js file. The name of the file is of course visible using "View Source".


    Quote Originally Posted by pratto View Post
    and using cap's makes you a good boy, and oh so smart.
    Inablity to use the apostrophe correctly is also a mark of the semi-literate. Nothing to be proud of.
    Last edited by Philip M; 08-09-2013 at 03:45 PM.

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

  2. #32
    New Coder
    Join Date
    Jan 2013
    Location
    Florida
    Posts
    75
    Thanks
    2
    Thanked 0 Times in 0 Posts
    you won't let it go will you ? i must have struck a nerve with the mother hen remark.

  3. #33
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,729
    Thanks
    202
    Thanked 2,507 Times in 2,485 Posts
    Quote Originally Posted by pratto View Post
    you won't let it go will you ? i must have struck a nerve with the mother hen remark.
    No, I won't. No-one will employ you if you cannot use the language correctly. If you think it is somehow clever to be seen as semi-literate I suggest you think again. Many people will run away from websites which contain errors of grammar, spelling and punctuation. Even more from job applications.

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

  4. #34
    New Coder
    Join Date
    Jan 2013
    Location
    Florida
    Posts
    75
    Thanks
    2
    Thanked 0 Times in 0 Posts
    dear BM (woops, a spelling error, i meant PM) -

    thanks for the advice.

  5. #35
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,729
    Thanks
    202
    Thanked 2,507 Times in 2,485 Posts
    Quote Originally Posted by pratto View Post
    dear BM (woops, a spelling error, i meant PM) -

    thanks for the advice.
    Dear Prat (sorry, I mean pratto),

    Glad to have been of assistance to you.

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

  6. #36
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,184
    Thanks
    10
    Thanked 569 Times in 550 Posts
    Quote Originally Posted by pratto View Post
    leaving the personal needling behind (hopefully), and back to the original question - doesn't just putting your JS in a referenced .js page effectively keep it from being viewed with source code ?
    not really, chrome underlines the src attrib of script tags, making them clickable and showing the script code upon being clicked.
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/1/19) IE7:0.2, IE8:6.7, IE11:7.4, IE9:3.8, IE10:4.4, FF:18.3, CH:43.6, SF:7.8, MOBILE:27.5

  7. #37
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts

    Smile

    Quote Originally Posted by pratto View Post
    leaving the personal needling behind (hopefully), and back to the original question - doesn't just putting your JS in a referenced .js page effectively keep it from being viewed with source code ?
    Answer is still NO.
    Last edited by DanInMa; 08-09-2013 at 05:40 PM.

  8. #38
    New Coder
    Join Date
    Jan 2013
    Location
    Florida
    Posts
    75
    Thanks
    2
    Thanked 0 Times in 0 Posts
    got it.

  9. #39
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,020
    Thanks
    75
    Thanked 4,323 Times in 4,289 Posts
    Quote Originally Posted by pratto View Post
    dear BM (woops, a spelling error, i meant PM) -

    thanks for the advice.
    I have to do it. I know, I shouldn't. But I will:

    The correct spelling of the word is "whoops".
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  10. #40
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    Quote Originally Posted by Old Pedant View Post
    I have to do it. I know, I shouldn't. But I will:

    The correct spelling of the word is "whoops".
    we are a majority of anal re-tentative(?) programmers. Well,of course you had to, it's a compulsion!
    (personally I have what I call typing dyslexia, sometimes my fingers jump ahead and press the next letter early . )

  11. #41
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,020
    Thanks
    75
    Thanked 4,323 Times in 4,289 Posts
    Oh, me too! I am *CONSTANTLY* typing teh for the, for example. I can't believe the number of times I have to go edit some posts.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  12. #42
    Senior Coder jmrker's Avatar
    Join Date
    Aug 2006
    Location
    FL
    Posts
    3,026
    Thanks
    36
    Thanked 494 Times in 488 Posts

    Lightbulb

    Quote Originally Posted by Old Pedant View Post
    Oh, me too! I am *CONSTANTLY* typing teh for the, for example. I can't believe the number of times I have to go edit some posts.
    Perhaps we should all become new members of "Mothers Against Dyslexia" also known as DAM!

  13. #43
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,020
    Thanks
    75
    Thanked 4,323 Times in 4,289 Posts
    Reminds me of the dyslexic agnostic insomniac.

    He lay awake all night wondering whether or not there is a Dog.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  14. #44
    Senior Coder jmrker's Avatar
    Join Date
    Aug 2006
    Location
    FL
    Posts
    3,026
    Thanks
    36
    Thanked 494 Times in 488 Posts

    Thumbs up

    Quote Originally Posted by Old Pedant View Post
    Reminds me of the dyslexic agnostic insomniac.

    He lay awake all night wondering whether or not there is a Dog.
    That's great. 3 puns in 1 sentence!

  15. #45
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    Quote Originally Posted by Old Pedant View Post
    Oh, me too! I am *CONSTANTLY* typing teh for the, for example. I can't believe the number of times I have to go edit some posts.
    my worst one is jsut.


 
Page 3 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Posting Permissions

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