I'm trying to add some hash links (in the format of a content table, to be able to facilitate webpage navigation) to this site in which a <base>
tag is used.
Now obviously due to the base tag, every other relative tag will be relative to the base tag href. In order for me to create this internal content table with the links pointing to different parts of the specific page, I need to get the default URL (before base tag is in effect) so the internal links can work properly.
Is there a way to do get around the base tag and accomplish this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…