Get Google Chrome
Vimium · 在 Chrome 里使用 vim 快捷键
iSNN
V2EX  ›  Chrome

请问如何让 Chrome 在当前窗口跳转页面

  •  
  •   iSNN · Feb 9, 2021 · 2365 views
    This topic created in 1991 days ago, the information mentioned may be changed or developed.

    请教各位个问题

    网上找到的都是新标签页打开的答案,我想要点击链接时在当前窗口当前标签跳转,类似于单页应用,当然和 vue 单页不一样,url 变了页面级的转圈加载什么的是无法避免的,但没关系

    不是开发,是使用的时候如何设置或者操作

    6 replies    2021-03-23 14:21:19 +08:00
    WoWTxT
        1
    WoWTxT  
       Feb 9, 2021
    chrome 好像默认就是当前页跳转。我记得当初我还为另开标签跳转搜索过怎么设置。
    WoWTxT
        2
    WoWTxT  
       Feb 9, 2021
    我想起来了,我设置的好像是 google 搜索
    iSNN
        3
    iSNN  
    OP
       Feb 9, 2021
    @WoWTxT google 就是当前跳转,百度是新标签...但是我想的通用的浏览器级通用的处理
    shakaraka
        4
    shakaraka  
       Feb 9, 2021
    window.location.href = 'https://www.google.com'
    wolfie
        5
    wolfie  
       Feb 9, 2021
    油猴脚本 需要写点代码。
    chrome 商店有插件 Death To _blank 。
    Meditation
        6
    Meditation  
       Mar 23, 2021
    可以考虑插件:crxMouse Chrome™ 手势
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1280 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 17:24 · PVG 01:24 · LAX 10:24 · JFK 13:24
    ♥ Do have faith in what you're doing.