The .htaccess change only works if you have a server that works with those files and unfortunately on my Synology this did not work. This solution however does.

I did read the FAQ but since that solution did not work for me, I tried this and this works for me and that's why I thought I should share it. :)

2

(1 replies, posted in Juicebox-Pro Support)

Hi,

Loving Juicebox lite and I want to purchase Juicebox Pro. For now I will only use it on one site but I'm sure that within the next months I want to extend to some other sites I'm working on. When I purchase the 5 site license, do I already have to specify on which domains I plan to use these?
Can I move the license from one domain to another, so stop using it on one domain and start using it on the next?

I am very happy with Juicebox but was annoyed by the fact that it does not work on a mobile device if you are 'on the road', using your 3G/4G connection and the provider messing up the javascript. I found a solution which I thought I should share here.

My solution assumes that your webserver has PHP running.

What you need to do is the following 4 things:

1. change your main page and add the following 3 lines at the very top:

<?php
header("Cache-Control: no-transform");
?>

2. change the reference to the Juicebox javascript to:

    <script src="jbcore/juicebox.js.php"></script>

3. change the juicebox.js file and add the extension .php so that it's name is juicebox.js.php

4. change the juicebox.js.php file (I used Notepad++ to change it but I suppose any text editor should be able to do it) and add the following 3 lines at the very top:

<?php
header("Cache-Control: no-transform");
?>

I know it's a (slight) modification of the Juicebox scripts which will break with every update but the upside is that your site will also work with Juicebox when your customers are on a mobile network.

Disclaimer :-) I was only able to test with Vodafone but the trick should work with all providers.