Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How can I grab all the code client-side for P5 Live? #3233

Open
TiborUdvari opened this issue Sep 18, 2024 · 0 comments
Open

Question: How can I grab all the code client-side for P5 Live? #3233

TiborUdvari opened this issue Sep 18, 2024 · 0 comments

Comments

@TiborUdvari
Copy link

Increasing Access

Unsure

Feature enhancement details

I'm working on a bookmarklet to make copying code over to P5 Live easier. The tricky part is that P5 Live loads everything into one file, with a special syntax for loading libraries. I’m wondering if there’s a way, using just vanilla JS, to grab all the code as a string from index.html, sketch.js, and any other files on the client side, assuming the user is already logged in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant