Skip to content

Commit

Permalink
+ view in iTunes
Browse files Browse the repository at this point in the history
  • Loading branch information
ytzong committed May 16, 2015
1 parent a753237 commit ed1f0f6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
5 changes: 4 additions & 1 deletion itunes-connect-url-bug-fix.user.js
@@ -1,7 +1,7 @@
// ==UserScript==
// @name iTunes Connect URL Bug Fix
// @namespace http://twitter.com/ytzong
// @version 0.1
// @version 0.2
// @description iTunes Connect URL Bug Fix
// @author ytzong
// @match https://itunesconnect.apple.com/*
Expand All @@ -12,4 +12,7 @@ var url = window.location.href;

if (url.substr(-2) == '#/') {
window.location.href = url.substring(0, url.length -2)
}
if (url.substr(-1) == '#') {
window.location.href = url.substring(0, url.length -1)
}
11 changes: 11 additions & 0 deletions view-in-itunes.user.js
@@ -0,0 +1,11 @@
// ==UserScript==
// @name View in iTunes
// @namespace http://twitter.com/ytzong
// @version 0.1
// @description View in iTunes
// @author ytzong
// @match https://itunes.apple.com/*
// @grant none
// ==/UserScript==

$('#left-stack .view-in-itunes:eq(0)').click()

0 comments on commit ed1f0f6

Please sign in to comment.