Support » Fixing WordPress » Inserting Java into Url

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi krisrichens,

    It seems like you’re asking to add a script tag to the URL itself to try to load a JavaScript file, which is very dangerous and not recommended.

    If you’re trying to add the user ID to the URL, are you trying to add it to the current URL or to links within the site?

    I think you mean, you want to store some user variable and persist it across URLs so it can be retrieved in JavaScript.

    The easiest way to do that is via cookies. See this W3 tutorial for more information.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Inserting Java into Url’ is closed to new replies.