开发者

How can I force the window name of a HTML page?

I have an internal web system that I want to link to from another internal web system - this is simple, obviously.

The problem is that I want the 2nd system to open links in the users current 'first system window', not open a new window. This again is quite simple, using target='' 开发者_StackOverflow社区in the 2nd system.

My question is, how can I always force the 1st system to have a window name of 'abc123' (or whatever)? I don't really want to rework the current log in system to open a new window with this name - I am hoping to be able to force this with a one-liner somehow.

Any ideas?

Matt


Like this?

javascript:document.title="abc123";
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜