Comments (13)
no one can help? please
from store.js.
store js file's content (string type), and then use eval() function to recover it
from store.js.
can you please write example of the code i am noob
from store.js.
var jsContent = 'alert("test1");alert("test2");'; // jsContent is from the content of your js file. This is just a example. You can get the content through js or copy the content directly
store.set("jsContent", jsContent);
eval(store.get("jsContent")); // eval() function will recover the js file's execution
from store.js.
but when you store to local storage the string and then execute it, can you run some system files?
from store.js.
i can not understand your discription very clearly, mybe cannot. Or others can answer it?
from store.js.
i need to run calculator on windows system that is possible?
from store.js.
calc.exe file
from store.js.
you use store.js in desktop application(.exe) or through webbrowser? if it's webbrowser, i think it cannot work.
from store.js.
from webbrowser why not? that is not possible to store an .exe file? or .js file? and then run it?
from store.js.
webbrowser can not run .exe file directly.
from store.js.
and the *.js file that will run exe?
from store.js.
Browsers are built as security sandboxes to prevent webpages from having access to any system files.
You cannot make a webpage execute anything on your machine, so what you want to do is not possible.
(this is by design - if you think about it, it would be a security risk to you if any webpage you visited was able to execute arbitrary programs on your computer. Simply visiting evil-page.com could immediately start executing things on your computer to benefit them or harm you)
from store.js.
Related Issues (20)
- Chinese characters when encoding HOT 3
- Ignore me
- how do i read specifically items from session storage HOT 1
- Uncaught TypeError: t.charCodeAt is not a function HOT 2
- Error on Ubuntu: Cannot read property 'documentElement' of undefined HOT 1
- the json format data becomes a json string HOT 1
- how to use store.js with expire?
- Support Subdomains HOT 1
- Open facebook event in new window/tab HOT 1
- there is no Issues just question about security!!! HOT 7
- clearAll() per namespace? HOT 4
- expire broken HOT 1
- Race conditions HOT 1
- Use Plugins with Typescript HOT 7
- Store instance
- store.js use in memory(localstorage) or physical disk( indexedDB)? what is size limit? HOT 1
- Expiry not set in cookieStorage.js HOT 2
- 存int数组,取值丢失精度 HOT 1
- global namespace
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from store.js.