Skip to content

nicam/add-to-homescreen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add to Home Screen Floating Layer

The script places a floating balloon to your mobile website inviting the user to add your app to the home screen. This is compatible with iPhone/4/iPod-touch and iPad, iOS >= 3.1.1.

Version: 1.0.8 - Official homepage - Video

Usage

Include the script and the stylesheet in your page HEAD. That's all. Look at the examples for advanced features. Documentation on cubiq.org.

Localization

The script auto-detects the user's locale and shows the message in the appropriate language. Currently the following languages are supported:

  • Catalan [ca_es]: Per instal·lar aquesta aplicació al vostre %device premeu '%icon' i llavors 'Afegir a pantalla d'inici'. (thanks to @canuda10)
  • Danish [da_dk]: Tilføj denne side til din %device: tryk på '%icon' og derefter 'Tilføj til hjemmeskærm'. (thanks to jimmiw)
  • German [de_de]: Installieren Sie diese App auf Ihrem %device: '%icon' antippen und dann 'Zum Home-Bildschirm'. (thanks to @dombn)
  • Greek [el_gr]: Εγκαταστήσετε αυτήν την Εφαρμογή στήν συσκευή σας %device: '%icon' μετά πατάτε 'Προσθήκη σε Αφετηρία'. (thanks to @rolandguelle)
  • English [en_us]: Install this web app on your %device: tap '%icon' and then 'Add to Home Screen'.
  • Spanish [es_es]: Para instalar esta app en su %device, pulse '%icon' y seleccione 'Añadir a pantalla de inicio'. (thanks to Roberto)
  • French [fr_fr]: Ajoutez cette application sur votre %device en cliquant sur '%icon', puis 'Ajouter à l'écran d'accueil'. (thanks to @bdufresne)
  • Finnish [fi_fi]: Asenna tämä web-sovellus laitteeseesi %device: paina %icon ja sen jälkeen valitse Lisää Koti-valikkoon (thanks to Santeri Vesalainen
  • Hebrew [he_li]: for some reasons I have troubles displaying the Hebrew version here, but it is working on the app (thanks to @roitiger)
  • Hungarian [hu_hu]: Telepítse ezt a web-alkalmazást az Ön %device-jára: nyomjon a %icon-ra majd a 'Főképernyőhöz adás' gombra. (thanks to Szabó Szabolcs)
  • Italian [it_it]: Installa questa applicazione sul tuo %device: premi su '%icon' e poi 'Aggiungi a Home'.
  • Japanese [ja_jp]: このウェブアプリをあなたの%deviceにインストールするには'%icon'をタップして'ホーム画面に追加'を選んでください。(thanks to @takatama)
  • Korean [ko_kr]: %device에 웹앱을 설치하려면 %icon을 터치 후 "홈화면에 추가"를 선택하세요, (thanks to @evashork)
  • Norwegian [nb_no]: Installer denne appen på din %device: trykk på '%icon' og deretter 'Legg til på Hjem-skjerm' (thanks to Thomas)
  • Dutch [nl_nl]: Installeer deze webapp op uw %device: tik '%icon' en dan 'Zet in beginscherm'. (thanks to @Kracht0147)
  • Portuguese [pt_br]: Instale este web app em seu %device: aperte '%icon' e selecione 'Adicionar à Tela Inicio'. (thanks to @mariozuany)
  • Portuguese [pt_pt]: Para instalar esta aplicação no seu %device, prima o '%icon' e depois o 'Adicionar ao ecrã principal'. (thanks to @maboa)
  • Russian [ru_ru]: Установите это веб-приложение на ваш %device: нажмите '%icon', затем 'Добавить в «Домой»'. (thanks to @myfreeweb)
  • Swedish [sv_se]: Lägg till denna webbapplikation på din %device: tryck på '%icon' och därefter 'Lägg till på hemskärmen'. (thanks to @fransrosen)
  • Thai [th_th]: ติดตั้งเว็บแอพฯ นี้บน %device ของคุณ: แตะ %icon และ เพิ่มที่หน้าจอโฮม (thanks to @maxart)
  • Tukish [tr_tr]: %device için bu uygulamayı kurduktan sonra %icon simgesine dokunarak Ev Ekranına Ekleyin. (thanks to @fatihacet)
  • Chinese simplified [zh_cn]: 您可以将此应用程式安装到您的 %device 上。请按 %icon 然后点选添加至主屏幕。 (thanks to Macro Yau)
  • Chinese traditional [zh_tw]: 您可以將此應用程式安裝到您的 %device 上。請按 %icon 然後點選加入主畫面螢幕。 (thanks to Macro Yau)

Please help us localizing the script in more languages!

License

This software is released under the MIT License.

Copyright (c) 2011 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.

About

Add to home screen popup for iPhone/iPad

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%