• This repository has been archived on 12/Feb/2019
  • Stars
    star
    2,272
  • Rank 20,276 (Top 0.4 %)
  • Language
    JavaScript
  • Created almost 14 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Add to home screen call-out for mobile devices

Repository is now archived

Add to Homescreen call out

Script for mobile devices, it automatically shows an overlaying message encouraging to add the web app to the homescreen. Compatible with iOS 6+ and Chrome for Android (soon WinPhone).

Installation

Add addtohomescreen.css and addtohomescreen.js to the head of your projects index file. Then, call addToHomescreen(); as soon as possible. For example:

<head>
<title>Add To Home</title>
...
<link rel="stylesheet" type="text/css" href="../../style/addtohomescreen.css">
<script src="../../src/addtohomescreen.js"></script>
<script>
addToHomescreen();
</script>
</head>

For more, consult the project website.

License

Copyright (c) 2014 Matteo Spinelli, http://cubiq.org/

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

iscroll

Smooth scrolling for the web
JavaScript
12,873
star
2

SwipeView

Virtually infinite loop-able horizontal carousel
JavaScript
700
star
3

infiniwall

Infinite, loopable, lazy loaded, 360° scroller for desktop and mobile
JavaScript
198
star
4

hexagame

Open Source HTML5 Word Puzzle Game
JavaScript
147
star
5

2-way-iScroll

Horizontal snap scroll (carousel) + vertical free scroll on mobile webkit using iScroll
JavaScript
116
star
6

cardview

Javascript incarnation of the rolodex
JavaScript
109
star
7

wp-frontend-login

Front-end account management (register/login/change password) for Wordpress.
PHP
104
star
8

OPK

Open Programmatic Keycap is a spherical top keycap profile developed in CadQuery
Python
88
star
9

touch-layer

Custom events and gestures handler for touch enable mobile devices
JavaScript
63
star
10

socket-balls

devicemotion + websockets + node.js proof of concept for iOS4.2
JavaScript
54
star
11

underpants-project

The Underpants Project
JavaScript
37
star
12

jsOdometer

CSS 3D odometer
JavaScript
26
star
13

OverflowScrollingFix

OSFix tries to fix iOS5 native 'overflowScrolling:touch' glitches
JavaScript
22
star
14

sockjs-chat

Lame sockJS chat demo
JavaScript
18
star
15

kbedit

Keyboard Designer
JavaScript
16
star
16

scifi-underdogs

Great Sci-Fi films you might have missed
13
star
17

remote-3d-city

JavaScript
13
star
18

PHBee

Micro PHP Framework
PHP
11
star
19

wp-add-to-homescreen

Official WordPress plugin for Add to Homescreen
PHP
10
star
20

how-to-build-a-custom-keyboard

A practical guide to building a computer keyboard from scratch
Smarty
8
star
21

KiiConf

JavaScript
8
star
22

ComfyUI_FaceAnalysis

Extension for ComfyUI to evaluate the similarity between two faces
Python
8
star
23

PuLID_ComfyUI

PuLID native implementation for ComfyUI
7
star
24

Block_Patcher_ComfyUI

Experimental sampler to iterate through blocks weight
Python
6
star
25

ComfyUI_InstantID

Python
3
star
26

ComfyUI_SimpleMath

custom node for ComfyUI to perform simple math operations
Python
1
star