1

I am developing a plug-in for chrome browser using python. I was trying to interact with the html page, and it was very frustrating, now I am using switching to JavaScript.
What I don't get is how did JavaScript become this power that you must use it to interact with the html page.

Comments
  • 2
    There were no other one on browsers so they used javascript. Microsoft then deve-flopped JScript.

    Also don't browsers use only javascript in extensions? Python(or py-script) will just be a hell hole.
  • 4
    That is what JS was designed to do. Of course the language makes it easy.
  • 6
    Because Python is >> NOT << a front end language, and hence has no reason to be interacting with the DOM.

    Javascript, VBScript and ActiveX on the other hand are frontend languages , with only 1 of these still in use today.

    How I don't miss the other 2.
  • 1
    @C0D4 where was Java applet
  • 2
    @Ohiorenua that's as much as the frontend as ActionScript is 🤷‍♂️

    Hopefully, you're no longer using Java Applets 👀
  • 0
    @Ohiorenua that Bastard has to Die.

    If anyone see it, kill on side. (rewrite code with html5 css3 vanillaJS).
Add Comment