Comments (6)
Some suggestion is using msSaveOrOpenBlob
on Microsoft browsers.
So I tried to update the code at the end of RPGFile.js but when I click Decrypt button the decrypted image is opened directly.
It seems that the code works. But I'm not familiar with js at all and don't know how to fix it. Hope it can help.
/**
* Creates the BLOB-URL for this File
*/
RPGFile.prototype.createBlobUrl = function() {
this.blob = new Blob([this.content]);
if (window.navigator && window.navigator.msSaveOrOpenBlob) {
window.navigator.msSaveOrOpenBlob(this.blob, 'img.png');
} else {
this.fileUrl = window.URL.createObjectURL(this.blob);
}
//this.fileUrl = window.URL.createObjectURL(this.blob);
};
from rpg-maker-mv-decrypter.
Someone has requested the documentation of this error:
Requesting SEC7134 documentation
It seems that running from local file may bring security risks. So some browsers will block it.
Is there any solution to run from http instead of blob?
from rpg-maker-mv-decrypter.
And... May be the same reason as IE? #5
from rpg-maker-mv-decrypter.
It seems that running from local file may bring security risks. So some browsers will block it.
Is there any solution to run from http instead of blob?
If you run this Script local, there is theoretically no reason to use HTTP, also you would need a local Web-server to run this Script local via HTTP.
Feel free to fork this project and exchange BLOB to HTTP-Downloads. The reason why I didn't added HTTP Downloads to this Project, was because I wanted that Script be able to run local without any Webserver. (Easy to use)^^
And... May be the same reason as IE? #5
Hm that can may be. It also seems I have to use a different method to create BLOBs in IE, but I'm unsure if I include that, since IE is not supported anymore
About Edge, I need to test that in a VM, since I don't have Win10 to test Edge. But I will surely look into that, BLOBs should work in Edge, since its more commonly used the last years
from rpg-maker-mv-decrypter.
I think msSaveOrOpenBlob
is just for opening/saving, but it's a step into the right direction!
from rpg-maker-mv-decrypter.
Fixed bace698 (Also fixed the issue for Edge, since its chromium based)
from rpg-maker-mv-decrypter.
Related Issues (20)
- Opening an image in browser HOT 3
- not a issue with the program it self, just can't find decrypter code. HOT 1
- Game has changed their .json to custom file extension instead? Can I still find encryption key? HOT 6
- Suggestion for recovering the encryption code HOT 2
- Add Base64 decoding when selecting a JSON File
- .RPGMVO Won't show up HOT 3
- Yorna_1_3_5 game resource files can't be used. HOT 1
- Is Encryption Option disabled? HOT 4
- I hope you will add the ability to open and save files in google drive HOT 1
- Custom Format HOT 1
- how to decrypt multi files in batch, if any command line possible HOT 2
- Translations System
- unable to decrypt files when there are none in the directory HOT 4
- Suggestion: webp support HOT 2
- Still can't find decrypter code after following the instruction HOT 4
- Can't find Decryption code. HOT 2
- not working for unknown reason :( HOT 2
- Help me uncrypt this one? HOT 1
- Is this project dead? HOT 1
- Issues with viewing decrypted image files HOT 10
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 rpg-maker-mv-decrypter.