i am making an extension that hides scrollbar, takes screenshot & then shows scrollbar again.
the problem with this approach is sites like stripe.com don't have any scrollbar by default so when my extension is done executing, it automatically shows the scrollbar which was not there in the first place.
so how do i get the scrollbar property ::-webkit-scrollbar of the current site?
it however does look like it isn't possible in css either but would love a 2022 update if there's any?