Closed albertofustinoni closed 11 years ago
eval in a sandbox should work... Can you elaborate please.
Uhm... I tried again rewriting my script from scratch and now it works. Sorry about that, I thought the sandbox might have disabled eval() for security reasons.
Trying to write a plugin for a website that goes to great lengths to disguise their download links: they generate them via javascript and modify the page markup on the client after loading. Unfortunately, they also cycle between different algorithms, so just reimplementing the algorithm doesn't work for long. Is there any way of using eval or an equivalent to run a string as javascript source within the anticontainer sandbox? If not, is there a way of getting the page source in the plugin AFTER the javascript it contains has executed?