I’m wondering if I can write my own small script (JS, JQuery), for example, to change the background color and embed (connect) to another site.

For example, there is a site http://example.com/ background color is red, can I somehow connect the script to change the color to green, let's say. How to start searching in this direction?

  • one
    If you can modify the markup of this site by inserting a script tag there, then you can make the changes you need. - Dmitriy Simushev
  • 2
    You need to make your script browser extension. In the settings of any extension it is indicated on which sites they should work, and the extensions themselves are usually written on JS - Mike
  • If you have access to all the sites that you want to implement scripts, then there are 2 options: either you build an API, or simply connect scripts and point to links to your scripts. - smellyshovel

1 answer 1

If we are talking only about changing the appearance of the page, you can use custom styles in the browser.

Another option is to write browser extensions that will work with any given page on its own terms: JS, jQuery, CSS, etc.

  • I just found such a thing as userscripts. Moving to the side of expansions - Rosnowsky