split view new

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

Autor
tljk
Denně instalací
1
Celkem instalací
157
Hodnocení
0 0 0
Verze
0.4
Vytvořeno
04. 03. 2023
Aktualizováno
02. 04. 2023
Size
5,0 KB
Licence
MIT
Spustit na
všech stránkách

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