ungoogled-software/ungoogled-chromium

Ability to pause/resume JavaScript execution per-tab

Open

#901 opened on Dec 31, 2019

View on GitHub
 (1 comment) (2 reactions) (0 assignees)Python (771 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (18,674 stars)
PR merge metrics
 (Avg merge 1d 11h) (9 merged PRs in 30d)

Description

It might be nice to have a way to pause and resume JavaScript execution of a tab via the click of a button. The use-case is for pages that contain a lot of busy JavaScript for content that is designed to be read/viewed.

Considering alternative solutions:

  • DevTools debugging pause/resume - This requires opening DevTools, and it also adds an annoying grey overlay. Otherwise, it seems sufficient for this use-case.
  • Resource filtering like uBlock/uMatrix: Does not deal with the JS used to make a page work. Especially pages that populate the DOM via JS.

Possible issues:

  • Anything that DevTools debugging can cause. For example, some JS events will not fire if the user can interface with the page while JS execution is paused. This may break some page's custom rendering logic.

Contributor guide