Jump to content

davej

Moderator
  • Content Count

    3,985
  • Joined

  • Last visited

  • Days Won

    2

davej last won the day on July 11

davej had the most liked content!

Community Reputation

251 Excellent

5 Followers

About davej

  • Rank
    davej
  • Birthday July 15

Contact Methods

  • MSN
    e-mail: davejonline@hotmail.com

Profile Information

  • Location
    STL
  • Interests
    Learning web development.

Recent Profile Visitors

73,244 profile views
  1. davej

    working with session

    One thing that you might be confusing is that client-side session storage is not the same as server-side session storage. Server-side session storage is secure, while Javascript sessionStorage is just a variation of localStorage which is a replacement for old-fashioned cookies. Server: https://www.w3schools.com/asp/asp_sessions.asp Client: https://www.w3schools.com/html/html5_webstorage.asp
  2. davej

    working with session

    Hmmm... why do you expect server-side code to be able to see client-side Javascript variables? Server-side code runs and then the browser loads the page and then client-side Javascript runs.
  3. davej

    Back button press

    What are you using as server-side code?
  4. I get a 404 error on that page so I suspect the site designers are changing things. You might start here... https://www.w3schools.com/howto/howto_css_parallax.asp
  5. davej

    Script For Preventing People From Coping My Post

    If your pages are properly marked as copyrighted material you could try mailing warning letters to the offenders. Javascript can be turned off so you can't expect Javascript to protect anything.
  6. davej

    Run Automaticly

    Sorry, Javascript can't open Notepad or run any other executable. https://www.w3schools.com/jsref/met_win_open.asp
  7. davej

    Server Handling

    So if you can't even log into the server to administer your website then you obviously need to contact the hosting support.
  8. davej

    Javascript events firing at pageload

    What JustSomeGuy says is also true if you use element.addEventListener(). The function name is used without the argument parens.
  9. It seem like SEO is mostly voodoo. https://www.seroundtable.com/google-absolute-vs-relative-urls-26001.html
  10. Learn about relative paths... https://www.w3schools.com/htmL/html_filepaths.asp Also another common problem is that when testing on a Windows pc the paths and file names are not case-sensitive -- but then you transfer the file to a Linux server which is case-sensitive.
  11. davej

    create a web

    File upload to the web root folder?
  12. davej

    using DOS command for batch file

    If you're using Windows 10 you can install Linux and use Bash scripts. https://docs.microsoft.com/en-us/windows/wsl/install-win10
  13. davej

    request about a script

    As Ingolme says, you have the decryption code and obviously Javascript is the only reasonable language choice. The problem is choosing passwords and detecting success. Now, as an example, if you know that the successful decryption will result in a phrase that contains one of the English words; "the", "and", or "is" then an "appropriate test" you might use; test = toLowerCase(test); if(test.indexOf('the') != -1 || test.indexOf('and') != -1 || test.indexOf('is') != -1){ alert(test); } or this might be better... var t = toLowerCase(test); if(t.indexOf(' the ') != -1 || t.indexOf(' and ') != -1 || t.indexOf(' is ') != -1){ alert(test); }
  14. davej

    request about a script

    1. You need to have some idea what was encrypted -- and an appropriate test that will detect that output. 2. You need a list of passwords such as Popular Passwords 2017 3. You need to write a script that will attempt each password in the list and test the result.
  15. davej

    request about a script

    I think this would be a good beginner's project for you.
×