I am trying to write a basic makefile that combines multiple js files into a single one and then does the same but compresses them.  So far I have this one that can make the compressed version fine.  # Set the source directory srcdir = src/  # Create...
I've seen a bunch of similar questions to this get asked before, but I haven't found one that describes my current problem exactly, so here goes:  I have a page which loads a large (between 0.5 and 10 MB) JSON document via AJAX so that the cl...
I'm looking for a free JavaScript obfuscator. Would compression be enough? What tools would you recommend? Of course, I don't need military-style obfuscation, I need a simple way to prevent kiddies from stealing my javascript by looking at t...
I am currently on a hosted Virtual Server, I want to enable GZip compression for my Asp.Net 3.5 site, how do I go about starting?  I have tried using 'packed' JS files, but they don't work, I am assuming it's because they are not hand...
Currently I send JSON from an Ajax post to the server which is then converted to objects using the Jackson Mapper.  The format is like this   {"id":"780710","folderID":"42024","displayOrder":2},{"id":&...
I have a PNG image and got its Base64 PNG string representation. It's still quite large and i'd like to know if it can be significantly further compressed. Is that even possible?  Background  I am using Selenium 2 (Java) to create a screensho...
I hava a problem understanding and implementing a permessage-deflate extension in WebSockets.  So far, I have added 'Sec-WebSocket-Extensions: permessage-deflate' inside handshake code. It seems to work all fine.  However when I send a "T...
I'm using a websocket to send a Jpeg image in blob form. I've compressed (gzipped) the blob but I'm unable to find a way to decompress it using JavaScript. Does anyone know how?    This is the code I'm using to read the blob and then...
I want to use the YUI Compressor on JavaScript files that contain PHP code like for example:  <?php $include 'headerDefinitions.js.php'; ?> function hello(name) {     alert('Hello ' + name); } hello('<?= $_GET["name&#...
TL;DR;  Is there a way to compress an image (mostly jpeg, png and gif) directly browser-side, before uploading it ? I'm pretty sure JavaScript can do this, but I can't find a way to achieve it.   Here's the full scenario I would like to i...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.