Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Get URL/Webpage address in Back Button (JavaScript)

Get URL/Webpage address in Back Button (JavaScript)

Scheduled Pinned Locked Moved Web Development
javascripthelptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    waxie
    wrote on last edited by
    #1

    Hi guys, I would like to inquire how to get the webpage/url address in real time from the back button. As we can see, when we push (down) pull down button in the back button, we can view the previous webpage visited. Is there a way to retrieve the url address in the back button without clicking on a link or a button using javascript? your help would really be much appreciated.:-O :rose:Christina

    N 1 Reply Last reply
    0
    • W waxie

      Hi guys, I would like to inquire how to get the webpage/url address in real time from the back button. As we can see, when we push (down) pull down button in the back button, we can view the previous webpage visited. Is there a way to retrieve the url address in the back button without clicking on a link or a button using javascript? your help would really be much appreciated.:-O :rose:Christina

      N Offline
      N Offline
      Navi15
      wrote on last edited by
      #2

      The window.history property is an array of URL strings which reflect the entries in the History object the previous property contains the complete URL of the previous element in the History list, and is the equivalent of the URL the user would go to if they selected Back in the Go menu. Syntax: history.previous Navi

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups