Forum Archive

iPad 4 + ios7 + url scheme

deadbone220

Hello,

I've made a html page with html links which opens pythonista and give me the ability to launch scripts with argument.

example :


<option name="GLOBAL_SYSTEME" value="pythonista://scriptSsh?action=run&args=script_screen_GLOBAL_SYSTEME.sh">GLOBAL_SYSTEME</option>

(I've changed some html to be able to post here)

and a script (javascript) which makes the redirection

    var label = item.options[ item.selectedIndex].text;
    var url = item.options[ item.selectedIndex].value;
    if (confirm("Lancer le script "+ label+ " ?")){ 
        window.location = url;
      }

With ios 6, all was fine on my iPhone and on my iPad.
With ios 7, it works on iPhone 5.
On my iPad 4 (ios 7 too), when I click to confirm "the javascript confirm", nothing appends... but safari seems to be freezed (same behaviour with the great iCab)

Someone has the same issue ?

Regards

Hvmhvm227

Tip: to show '<' character use '&lt;' (without the quotes)

deadbone220

thank you for the tip

deadbone220

perhaps someone is interested by the concept of this (very) simple remote of my own (cf previous post)
I posted several files on gist here : https://gist.github.com/deadbone/6715590
The python's script use many part of different scripts I've found here, so thanks to the community