Search code examples
pythontampermonkeybrython

Python/Brython create button on a website


Is it possible to create a button on a website (like tampermonkey scripts do) with Brython ? Or is there an alternative to Tampermonkey(JavaScript), based on python(or similar) ?

My knowledge of JavaScript is 0 , thats why i'm avoiding it.

Thanks.


Solution

  • If you are set on using Python I would try to use a language converter like this: http://www.brython.info/tests/precompile.html

    You can then take the output and paste it into a tampermonkey script.