开发者

How is this site opening a new window

开发者 https://www.devze.com 2022-12-26 02:00 出处:网络
Normally we can specify a target in the link or use javascript window.open to open开发者_Go百科 a new window.

Normally we can specify a target in the link or use javascript window.open to open开发者_Go百科 a new window.

But when I access this site

www.wenxuecity.com (It is a chinese site)

I could't find out how it opens each news in a new window.

no target in the link. debug javascript doesn't show any call to window.open

Could someone tell me how it is implemented?

Thanks


It has this code in the head section:

<base target="_blank">

That sets the default target for all links on the page.

0

精彩评论

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