强制外部链接重用现有的浏览器选项卡具有相同的域 [英] Force external links to reuse existing browser tab with the same domain

查看:161
本文介绍了强制外部链接重用现有的浏览器选项卡具有相同的域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要做同样的事情,因为这家伙:<一href=\"http://superuser.com/questions/263747/force-all-new-links-to-same-domain-to-reuse-single-browser-tab\">http://superuser.com/questions/263747/force-all-new-links-to-same-domain-to-reuse-single-browser-tab

I want to do the same thing as this guy: http://superuser.com/questions/263747/force-all-new-links-to-same-domain-to-reuse-single-browser-tab

我问了镀铬的扩展谷歌组同样的问题,几个月前,但没有人关心批准我的职务。

I asked the same question in the chrome-extensions google group months ago but no one cared to approve my post.

我可以实现使用延长谷歌浏览器的行为?我试过,但无法找到一个方法来检测一个环节是外部的或没有。随着外部我的意思是点击在聊天窗口或电子邮件中的链接。

Can I achieve that behavior in Google Chrome using an extension? I tried but couldn't find a way to detect if a link is external or not. With external I mean clicking in a link in a chat window or email.

谢谢,

推荐答案

下面是github上的扩展,它说,它确实非常相似(我没有亲自使用过它)的东西。它只做它固定的标签,但code看起来很简单来调整。

Here is an extension in github that says it does something very similar (I have not personally used it). It only does it for pinned tabs, but the code looks simple enough to tweak.

rjregenold / reusetab铬·GitHub的

请注意它的工作方式中删除新选项卡和使旧,固定标签页顶端。我觉得可能是这样做的唯一途径。它如何新标签,新窗口 - Chrome网上应用店扩展也适用。

Note it works by deleting the new tab and the bringing the old, pinned tab to the top. I think that may be the only way to do it. Its how the New Tab, New Window - Chrome Web Store extension also works.

这篇关于强制外部链接重用现有的浏览器选项卡具有相同的域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆