Extension icon indicating copy to clipboard operation
Extension copied to clipboard

Make getPageletiable accept custom JS

Open spencerpogo opened this issue 4 years ago • 4 comments

Make getPageletiable accept custom JS and remove JSON requirement.

spencerpogo avatar May 19 '20 01:05 spencerpogo

Sorry that I kinda forgot about this.... Can you make sure it can also accept a variable name?

Timeraa avatar Jun 21 '20 17:06 Timeraa

What do you mean variable?

spencerpogo avatar Jun 22 '20 03:06 spencerpogo

So that you can get a variable like "ytplayer" from the dom without having to put a whole script into it

Timeraa avatar Jun 30 '20 16:06 Timeraa

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.

spencerpogo avatar Jul 13 '20 16:07 spencerpogo