Extension
Extension copied to clipboard
Make getPageletiable accept custom JS
Make getPageletiable accept custom JS and remove JSON requirement.
Sorry that I kinda forgot about this.... Can you make sure it can also accept a variable name?
What do you mean variable?
So that you can get a variable like "ytplayer" from the dom without having to put a whole script into it
I think this would work with my current code. The way it works is just resolving with (code)
instead of requiring it to be a value in window
, so I think it supports what you're describing and it won't break any existing usage.
Also I kinda deleted the branch already.