Skip to content Skip to sidebar Skip to footer
Showing posts with the label Eval

Escape String In Eval Context With Json.stringify

First of all: I know that there are many questions related to escaping, but I did not found a gener… Read more Escape String In Eval Context With Json.stringify

How Does Jsfiddle Allow And Execute User-defined Javascript Without Being Dangerous?

I've been working on a JS library and would like to setup a demo page on Github that allows, fo… Read more How Does Jsfiddle Allow And Execute User-defined Javascript Without Being Dangerous?

Why Is (0 || Eval) Not Treated As Indirect In Opera?

In strict mode, indirect calls to eval should have this bound to the global object in eval code. 1… Read more Why Is (0 || Eval) Not Treated As Indirect In Opera?

Is There A Way To Execute A Function When I Have Its Name In A String

Consider I have a name of a function which does not require any argument in a var - var fn = … Read more Is There A Way To Execute A Function When I Have Its Name In A String

Semi-sandboxing Javascript Eval

Background: I'm working on a framework/library to be used for a specific site in coordination w… Read more Semi-sandboxing Javascript Eval

How Do I Dynamically Call A Javascript Object's Method

I think that I'm missing something very simple here. I want to pass a function an object and th… Read more How Do I Dynamically Call A Javascript Object's Method