Disabling browser status bar text

前端 未结 5 1027
执笔经年
执笔经年 2021-02-13 17:50

Background

Modern browsers do away with the classic status bar and instead draw a small tooltip at the bottom of their windows that displays the link target on hover/f

5条回答
  •  野的像风
    2021-02-13 17:58

    This is what I do with jQuery:

            //remove status bar notification...
            $('a[href]').each(function(){
                u = $(this).attr('href');
                $(this).removeAttr('href').data('href',u).click(function(){
                    self.location.href=$(this).data('href');
                });
            });
    

提交回复
热议问题