You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to brython
Hello, I believe it would make sense for guides to be provided on the Brython website for how it can be used to create browser extensions. There is already one tutorial but all it shows is how to embed the console in an iframe, not what is needed. Would love to know what you think. Thanks.
Jonathan Verner
unread,
Dec 15, 2017, 9:18:49 AM12/15/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to brython
It would definitely make sense, but someone will need to write them. I currently don't have time to do that. Also, it is my impression, that using Brython in WebExtensions will not be completely trivial. See also https://github.com/brython-dev/brython/issues/713.
Jonathan Verner
unread,
Jan 7, 2018, 6:40:14 PM1/7/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
Actually, I was probably wrong about it being difficult. As a weekend project I hacked together a very crude extension to add a Python console to Browser's Dev Tools. I'll see if I have more time to work on it and document the process, but in the meanwhile, you can look at the code here: https://gitlab.com/Verner/PythonConsoleExtension. Its all really just a matter of including brython.js, and brython_stdlib.js in your extension and you should be good to go.