Programmatically change base href tag

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • just1coder

    #1

    Programmatically change base href tag

    Is there a way to programmaticall y change the base href tag in a
    website with JavaScript?
  • Thomas 'PointedEars' Lahn

    #2
    Re: Programmaticall y change base href tag

    just1coder wrote:
    [color=blue]
    > Is there a way to programmaticall y change the base href tag in a
    > website with JavaScript?[/color]

    Sure, "base" elements are only elements, so if the DOM of the UA
    provides access to all elements there is no reason it would not to
    "base" elements. However, the question is whether this affects
    the operation of the UA when visible hyperlinks are activated.
    Another question is why someone would try to achieve that.


    PointedEars

    Comment

    Working...