Could somebody tell me if this CSS, Java or whatever?
$(document).ready(function(){
$(window.location.hash).append('<a name="' + window.location.hash.replace('#','')+ '"></a>');
window.location.href=window.location.href;
});
This is to allow page anchors to function within Firefox, in which it functions as intended.
My curiosity is precautionary as I'm also interested in knowing if the lines present a vulnerability for hijacking links?
TIA