Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个<a>带有 href="https://twitter.com/intent/tweet?text=@goomena Welcome to Goomena.com&hashtags=goomena" 的标签,当我单击它时,它没有在现有窗口或新标签中打开但它会在具有特定尺寸的弹出窗口中打开。在我的<a>标签中,我没有任何目标属性,所以我确定我不是导致它的人。我喜欢这种效果,但我想知道 Twitter 是如何做到的。我将来可能会使用它。提前感谢您的时间和帮助。
<a>
您可能还加载了 Twitter 的 Intent javascript,它会拦截此链接并创建弹出窗口。