Browse Source

Point to browser extension

pull/3047/merge
Ruud 11 years ago
parent
commit
4f059c2549
  1. 6
      couchpotato/core/plugins/userscript/static/userscript.js
  2. 4
      couchpotato/static/scripts/couchpotato.js

6
couchpotato/core/plugins/userscript/static/userscript.js

@ -67,12 +67,12 @@ var UserscriptSettingTab = new Class({
self.settings.createGroup({
'name': 'userscript',
'label': 'Install the bookmarklet or userscript',
'label': 'Install the browser extension or bookmarklet',
'description': 'Easily add movies via imdb.com, appletrailers and more'
}).inject(self.settings.tabs.automation.content, 'top').adopt(
new Element('a.userscript.button', {
'text': 'Install userscript',
'href': Api.createUrl('userscript.get')+randomString()+'/couchpotato.user.js',
'text': 'Install extension',
'href': 'https://couchpota.to/extension/',
'target': '_blank'
}),
new Element('span.or[text=or]'),

4
couchpotato/static/scripts/couchpotato.js

@ -317,8 +317,8 @@
return new Element('div.group_userscript').adopt(
new Element('a.userscript.button', {
'text': 'Install userscript',
'href': Api.createUrl('userscript.get')+randomString()+'/couchpotato.user.js',
'text': 'Install extension',
'href': 'https://couchpota.to/extension/',
'target': '_blank'
}),
new Element('span.or[text=or]'),

Loading…
Cancel
Save