#Stay Standalone
A short script to prevent internal links to a "webapp" added to iPhone home screen to open in Safari instead of navigating internally.
<!DOCTYPE html> | |
<head> | |
<title>Stay Standalone</title> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> | |
<script src="stay_standalone.js" type="text/javascript"></script> | |
</head> | |
<body> | |
<ul> | |
<li><a href="http://google.com/">Remote Link (Google)</a></li> |
#Stay Standalone
A short script to prevent internal links to a "webapp" added to iPhone home screen to open in Safari instead of navigating internally.
(function( undefined ){ | |
/* Apple Device Webkit Browsers */ | |
var isIdevice = /(iPhone|iPod|iPad).*AppleWebKit/i.test(navigator.userAgent); | |
if (isIdevice){ | |
document.getElementsByTagName('body')[0].className += ' iphone ipod ipad'; | |
} | |
var isIphone = /(iPhone).*AppleWebKit/i.test(navigator.userAgent); | |
if (isIphone){ | |
document.getElementsByTagName('body')[0].className += ' iphone'; |
{ | |
"name": "Codiqa Prototypes", | |
"description": "Rapid Mobile Prototyping - Saves directly to Google Drive!", | |
"version": "1.3", | |
"container": "GOOGLE_DRIVE", | |
"api_console_project_id" : "CONSOLE_PROJECT_ID", | |
"intents": { | |
"http://drive.google.com/intents/opendrivedoc": [ { | |
"disposition": "window", | |
"href": "http://codiqadrive.appspot.com", |
if (window.navigator.standalone) { | |
var local = document.domain; | |
$('a').click(function() { | |
var a = $(this).attr('href'); | |
if ( a.match('http://' + local) || a.match('http://www.' + local) ){ | |
event.preventDefault(); | |
document.location.href = a; | |
} | |
}); | |
} |
#!/bin/sh | |
echo "What should the Application be called (no spaces allowed e.g. GCal)?" | |
read inputline | |
name=$inputline | |
echo "What is the url (e.g. https://www.google.com/calendar/render)?" | |
read inputline | |
url=$inputline |
[PHP] | |
;;;;;;;;;;;;;;;;;;; | |
; About php.ini ; | |
;;;;;;;;;;;;;;;;;;; | |
; PHP's initialization file, generally called php.ini, is responsible for | |
; configuring many of the aspects of PHP's behavior. | |
; PHP attempts to find and load this configuration from a number of locations. | |
; The following is a summary of its search order: |
config.js |
<div class="container"> | |
<h2>Also included in every plan</h2> | |
<div class="row"> | |
<div class="col-6 col-lg-3"> | |
<h4>Team Collaboration</h4> | |
</div> | |
<div class="col-6 col-lg-3"> | |
<h4>Live Preview</h4> | |
</div> | |
<div class="col-6 col-lg-3"> |