Script cookie browser

Do you think it is possible to create a script that automatically deals with the rejection of cookies on that page when opening an internet page or in clicks?

I have calculated that in a day if you were to open even just 30 pages seeing it as the approximate average use of a user would save around 54,000 seconds, about 900 minutes per year.

Not to mention the different types of pages that sometimes make it easy to refuse cookies, other times they make it a long and infernal mechanism.

And on top of that, you would save an infinite amount of privacy.

If the script could be done not only for Manjaro, but also for the linux world in general it would be a small great achievement.

Inside firefox there is already the possibility to do it on all pages, but this would limit the use of those only sites where cookies are really needed.