split view new

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

La data de 02-04-2023. Vezi ultima versiune.

Autor
tljk
Rating-uri
0 0 0
Versiune
0.4
Creat
04-03-2023
Actualizat
02-04-2023
Size
5,03 KB
Licență
MIT
Se aplică pe
Toate site-urile

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