1

Is it impossible to change the background color of a page, for example, on the Google home page, its possible to change the color from white to a black ? When I run a script and refresh the Google page, the background color is converted to black and when the script is closed, it returns to its natural color

1 Answer 1

1

No, it's not impossible. But you can't change permanently a page with a script. If you shut down the script, the changes won't stay.

To do what you want, you need to make a extension for your browser. But I'm not sure if python is the best language to do that or if it can to that.

Sign up to request clarification or add additional context in comments.

2 Comments

Yes, this is what I want, I have an idea for one of the sites. I want to temporarily convert the Dark Mode page. When I run the script, the page turns black, What do I need to do this
Ah, ok. Now i understand what you want. I will edit and answer your question.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.