Open itunes from a link - html

How can I write a link in html to open itunes in Mac?
What actually I want to do is when someone clicks on a link in my website , it should open itunes?

Here is such a link:
Tap 'n' Pop Classic
This will work only if the website visitor has iTunes installed on his machine.

Apple offers the iTunes Link Maker, which let's you generate such links.

Just use iTunes Link Maker and remove the country code (i.e. "us") out of the link and it would always work open iTunes always and not a browser on the way (if there is iTunes installed on the target system).
You can also remove the app_name you don't really need it (if your app name would be changed nothing happen, actually the name is ignored).

Related

Linking "itms-apps://" link to redeem gifted app within html email

HTML novice here stumbling around with modifying some email code that put together using some online generators and such. I am trying to send an email to customers with an embedded link that will automatically open the iOS app store "redeem" button for an app that I have gifted them.
The link to accomplish this for a given "gifted app" is as follows:
itms-apps://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/freeProductCodeWizard?code=PROMOCODEHERE?mt=8
This link works fine when clicked from iMessage, apple Notes, etc on iPhone (I.e., opens the app store and just has a redeem button, thus allowing the person to directly install the app to their phone). It would also work just fine if you remove the itms-apps:// portion and the user defaults to Safari browser - the issue I'm trying to avoid is if they use a non-default browser (Chrome, etc) so that the link goes direct to app store.
Within the email, I'm using the following (the itms-apps:// link is technically called from a variable, but I've tried it with and without variable to no success). The email sends and the button this link is in just does nothing on iPhone, isn't tappable etc.
TAP FROM iOS TO INSTALL
So far, as mentioned I've tried
Removing the variable which calls in the promo code app store link
Using a URL encoder to make sure special/reserved characters aren't an issue (result looks like the following)
TAP FROM iOS TO INSTALL
... but these options aren't working. Would love any thoughts as to how to approach this! Thanks in advance.
Try to add this in your Info.plist

How to correctly show WeChat profile from website?

I am searching for a best way to show WeChat profile in app after user click on link on some website.
I found some solution here but it's not working for me.
For example I tried these URIs:
link
Or in href attribute:
weixin://contacts/profile/{wechatId}
It's not working for me. After I click on this, WeChat app is opened and immediately closed. Or it show me not found error on Tips tab..
Is there some way to do it?
I think WeChat has not public profile webpage like facebook for now, you can only access other people's profile in the WeChat app by scanning a QR code or search by WeChat id/phone number. The code snippets that you mentioned above has been discarded by WeChat Official(But you may still can see it in some old official documentations).
If you still want to achieve this function, I recommend you just post your QR code in your webpage.
However, some people using the weixin:// as a bug to link WeChat to others apps. You still can generate a tickets like weixin://dl/business/?ticket=***. The *** contains your wechatid and is encrypted by some specific algorithms, which is not opened by WeChat official. And also, buying some third-part server tickets like this to get the jump link works for now but not stable.

Is there anyway to install an extention without visiting to google app store?

Is there anyway to install an extention without visiting to google app store?
For example I want visitors, can install my extention just one clicking a facebook ad or a banner?
Is it possible?
I read some article that mentioning about to verified site ownership to do this. But I want to make advertisement on facebook so I wouldn't be owner of the web page...
Does anyone have information on this subject?
Thanks.
Right click on the Chrome shortcut
In the Target field, add --enable-easy-off-store-extension-install after what's already there, let a space before
Save and start Chrome
You're probably looking for inline installation, performed via chrome.webstore.install.
In your webpage:
include <link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/itemID">, where the URL is the address of your extension
then. call chrome.webstore.install().
Unfortunately, you can't do either of those things on a basic Facebook page, but you could do it on a web page you can fully control.

opening html from google drive

I have made a page in html5 with css3. It works fine on local (I dont use any server, just doubleclick in the index to open it).
I want to put it in google drive. I have load all the documents needed, but when I try to open the html, I can only see the text (I mean, it is not being executing, I can see just the source code).
Any suggestion?
Not available any more, https://support.google.com/drive/answer/2881970?hl=en
Host web pages with Google Drive
Note: This feature will not be available after August 31, 2016.
I highly recommend https://www.heroku.com/ and https://www.netlify.com/
EDIT: As of August 2016 Google Drive can no longer be used to host static web pages, so this solution no longer works.
Create a new folder in Drive and share it as "Public on the web."
Upload your content files to this folder.
Right click on your folder and click on Details.
Copy Hosting URL and paste it on your browser.(e.g. https://googledrive.com/host/0B716ywBKT84AcHZfMWgtNk5aeXM)
It will launch index.html if it exist in your folder other wise list all files in your folder.
I don't think it is necessary to "host" the content using the way from the accepted answer. It is too complicated for a normal user with limited developing skills.
Google actually has provided hosting feature without using Drive SDK/API, what you need is just few clicks. Check this out:
http://support.google.com/drive/bin/answer.py?hl=en&answer=2881970
It is the same to the answer of user1557669. However, in step 4, the URL is not correct, it is like:
https://drive.google.com/#folders/...
To get the correct host URL. Right click on the html file (you have to finish 1-3 steps first and put the html in the public shared folder), and select "Details" from the context menu. You will find the hosting URL right close to the bottom of the details panel. It should look like:
https://googledrive.com/host/.../abc.html
Then you can share the link to anyone. Happy sharing.
Now you can use
https://sites.google.com
Build internal project hubs, team sites, public-facing websites, and moreā€”all without designer, programmer, or IT help. With the new Google Sites, building websites is easy. Just drag content where you need it.
While drive allows you to edit plain text and HTML files I don't believe they allow the HTML to actually be displayed. I don't think they want people hosting websites from their drive space.
A lot of the solutions offered here do not seem to work anymore. I'm currently on a chromebook and wanted to view an HTML5 banner. This seems impossible now through Google Drive or other apps (as mentioned in previous comments).
The method I ended up using to view the HTML5 was the following:
Open Google Adwords (create a free account if you dont have one)
Click on Ads in the top panel
Click on "+AD" and choose image ad
Choose "upload an ad"
Drag and drop your zip file into the area
Click on Preview
Voila, you will see your HTML5 banners in their full beauty
There may well an easier way, but this way is pretty good too. Hope it helps and worked well for me.
Create a new folder in Drive and share it as "Public on the web."
Upload your HTML, JS & CSS files to this folder.
Open the HTML file & you will see "Preview" button in the toolbar.
Share the URL that looks like www.googledrive.com/host/... from the preview window and anyone can view your web page.
Found method to see your own html file (from here (scroll down to answer from prac): https://productforums.google.com/forum/#!topic/drive/YY_fou2vo0A)
-- use Get Link to get URL with id=... substring
-- put uc instead of open in URL

Opening iBook File on iPad from HTML Link

This is a bit of a strange question, but I have a client who's employees will be accessing an intranet site using company provided iPads. All of these iPads will have an book loaded into iBooks. They want us to link to that book from the intranet site. I can't find a way that this can be done. Does anyone know how it might be done? If not, do you know of a way that we can link to the iBooks application so that it will launch and at least give the user the menu of iBooks available on the device? Thanks in advance.
You can open directly to iBooks by using the url:
My Link
This is a possible duplicate of How do I launch iBooks e-reader programmatically on iPad?
You can open iBooks to a specific book now by including the assetid of the book you want to open. Example:
ibooks://assetid/1396541327
Details available on the Apple.com website - https://support.apple.com/en-us/HT202929