Skip to content

Latest commit

 

History

History
141 lines (82 loc) · 4.88 KB

File metadata and controls

141 lines (82 loc) · 4.88 KB

App Store

The default Apple app.

Table of Contents

  1. URL Scheme
  2. Launch Center Pro Actions
    1. Clipboard Actions
    2. Prompt Actions
  3. Bang On Custom Search URL
  4. Drafts Actions
    1. URL Actions
  5. Mr. Reader Services
    1. Other App Services
  6. Bookmarklets
    1. Generic

URL Scheme

Search App Store

iOS App Store

itms-apps://
    phobos.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&term=
        
Example:
    itms-apps://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&term=Twitter

iTunes

http://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&term=

Example
    http://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&term=Twitter

Note: Using the itms-apps:// protocol will launch your search in the iOS App Store while using http:// may launch the search in iTunes. One possible downside to using itms-apps:// is that it will not work on OS X or Windows so for potentially cross-platform tools like Bookmarklets you either need to make it platform specific or build it to use the correct URL depending on the platform like I do in the bookmarklet below.

If there's a better way of handling this or if you can fill in any more information about the App Store URL schemes I'd really appreciate the help!

handleOpenURL

Table of Contents ↩


Launch Center Pro Actions

Clipboard Actions

Search App Store for [clipboard]

http://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&term=[clipboard]

Prompt Actions

Search App Store for [prompt]

http://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&term=[prompt]

Table of Contents ↩


Bang On Custom Search URL

itms-apps://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&term=%@

Table of Contents ↩


Drafts Actions

URL Actions

Search App Store for Title

Name: Search App Store for Title
URL:

    itms-apps://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&term=[[title]]

Note: This action will search the App Store for whatever is on the first line of your draft.

To install the action copy and paste the following URL into your iOS browser's location bar and hit enter • Help

drafts://x-callback-url/import_action?type=URL&name=Search%20App%20Store%20for%20Title&url=itms-apps%3A%2F%2Fphobos.apple.com%2FWebObjects%2FMZSearch.woa%2Fwa%2Fsearch%3Fmedia%3Dsoftware%26term%3D%5B%5Btitle%5D%5D

Table of Contents ↩


Mr. Reader Services

Other App Services

Search App Store for Selection

App Name: Search App Store for Selection
Protocol: itms-apps://
URL Scheme Template:

    itms-apps://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&term={[TEXT-SELECTED]}

Visibility:
    Standard Menu: Off
    Text Selection Menu: On
    Link Menu: Off

Download ServiceHelp

Table of Contents ↩


Bookmarklets

Important Note: Bookmarklets that take advantage of your text selection work differently or don't work at all in different browsers. Please see the guide for further details and workarounds.

Generic

Search App Store for Selection

javascript:if(navigator.userAgent.match(/(iPhone|iPod|iPad)/i)){location.href='itms-apps://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&term='+encodeURIComponent(window.getSelection());}else{location.href='http://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&term='+encodeURIComponent(window.getSelection());}

This bookmarklet also works correctly on OS X (& probably Windows, haven't tested it yet).

Search App Store for...? Prompt

javascript:var%20search=window.prompt('Search%20App%20Store%20for...');if(navigator.userAgent.match(/(iPhone|iPod|iPad)/i)){location.href='itms-apps://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&term='+encodeURIComponent(search);}else{location.href='http://phobos.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&term='+encodeURIComponent(search);}

Table of Contents ↩