Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
If I were to write, in JavaScript, an app that generates JavaScript code (and even interprets it and runs it) what tools/frameworks/APIis could i use?
You can run constructed javascript code using eval():
> eval("print('hi')")
hi
But you should be very careful about executing code that is constructed from user supplied input, as it has access to the environment where the code is executed, for example:
> x=3
3
> eval("print(x)")
3
In this case access to the variable x doesn't particularly matter, but you can imagine that if the executed code were constructed from user input it could access sensitive data or wreak havoc with the application.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am working on a HTML parser which receives a input from user and produce HTML document in tag. Now to avoid XSS attacks I need a simple HTML sanitizing script which filter out all java-script elements and allow only HTML component.
There is not way you can properly sanitize user input on client side, because it can all be bypassed, users can simply remove event handlers, delete javascripts. the only way to properly sanitize user input is with client-side programming language.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Does anybody knows if exists a javascript library that guides the user through a sequence of steps?
i.e., showing him messages and arrows to give him instructions of where to click, type, drag or how to continue in order to achieve something.
I know its possible to do it with jquery, or any other, but I was hopping to avoid to write a bunch of code by myself.
Couple of projects. I have used Guiders and has worked out well.
http://linkedin.github.io/hopscotch/
https://github.com/jeff-optimizely/Guiders-JS
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there a php backend library that allows a user to upload files upt to 512mb big and displays the progress in a bar through jquery / javascript?
Thanks,
EL
I've used http://www.uploadify.com (the html5 version) and I've been happy with it.
Note that the upload size allowed depends on the php configuration.
There are lots of tools available (just google it). If you want do do something your self you can check out this step-by-step guide
http://www.9lessons.info/2012/04/file-upload-progress-bar-with-jquery.html
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have a set of HTML files that I'd like to bundle into and access from Javascript.
For my Rails project I use the haml_coffee_assets gem. This gem generates a Javascript JST object that includes my templates. I can refer to a template, in Javascript, using
JST['template_name']()
This approach is very convenient because I can have a standalone Javascript file that includes everything.
Are there such tools for Python projects? A stand-alone tool? Something for Flask? Something for Django? I can write a stand-alone tool easily, but it'd be nice if something has already done this. Quick google search didn't return anything.
Thanks.
I believe what you are looking is called webassets. There is also a wrapper for Flask called Flask-Assets.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm new in programming with Python. I just want to create a little webcrawler.
I already created my idea in C# but my Raspberry Pi doesn't support the Mono project in the right way (There is a long theard about a special problem, which is still not solved and this for about a year now). Because of this I need to code it in Python. I want a simple application which opens a website, waits some seconds till the JavaScript changes some stuff on the website (some simple links) then it needs to find a specific link by his id. When it finds the link, it needs to visit / click the link so that I can see the source code of the new website for other works later. Perhaps you guys could help me out with some links? I already searched by my self but I couldn't find anything what could help me directly.
Thank you all!
You need Selenium with Python.