ading2210 / dextensify

An exploit which lets you disable most admin-installed Chrome extensions from any webpage.
https://dextensify.pages.dev
MIT License
54 stars 102 forks source link

Marginally improve the code #4

Closed CountBleck closed 1 year ago

CountBleck commented 1 year ago

I'm not getting paid to improve code quality, and code quality doesn't matter too much here anyway, but I changed some things that I noticed. TIL about AbortSignal.timeout().

I haven't tested this, but Cloudflare Pages should deploy a preview version of this PR for people to test.

CountBleck commented 1 year ago

Note, subframe_count is unused.