split view new

long press link to open in side panel, 长按链接在侧边栏打开

当前为 2023-04-02 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
tljk
评分
0 0 0
版本
0.4
创建于
2023-03-04
更新于
2023-04-02
大小
5.0 KB
许可证
MIT
适用于
所有网站

A tampermonkey script to create a split view, built for foldable devices

It will split a tab into two sub pages. Long press any link on the left to open it on the right side.

~~It breaks the original behavior of links to make it possible to navigate, which may cause the page to behave abnormally. ~~ ~~It uses sandbox to counteract anti-attack behavior of some websites, which may also cause anomalies. ~~ ~~In all, it is a primitive and rough way that may have many unknown problems. ~~

Demo

Usage

A browser that can run tampermonkey. For android, I recommend to use firefox nightly.

Known Issue

google.com ✔️
stackoverflow.com ❓

Page failed to load or navigate with errors like

  • Refused to execute inline script because it violates the following Content Security Policy directive
  • Refused to display 'https://github.com/' in a frame because it set 'X-Frame-Options' to 'deny'

Possible workaround, use following extension to disable this security feature.
Ignore X-Frame headers