29 lines
693 B
JavaScript
29 lines
693 B
JavaScript
const pkg = require('../package.json')
|
|
|
|
module.exports = {
|
|
name: '3CX TAPI',
|
|
namespace: 'http://cp-solutions.at',
|
|
version: pkg.version,
|
|
author: pkg.author,
|
|
copyright: 'Copyright CP Solutions GmbH',
|
|
source: pkg.repository.url,
|
|
downloadURL: `${pkg.repository.url}/raw/branch/master/3CX_TAPI.user.js`,
|
|
match: [
|
|
'https://192.168.0.154:5001/*',
|
|
'https://cpsolution.my3cx.at:5001/*'
|
|
],
|
|
require: [
|
|
'https://cdn.jsdelivr.net/gh/CoeJoder/waitForKeyElements.js@v1.2/waitForKeyElements.js',
|
|
],
|
|
grant: [
|
|
'GM.xmlHttpRequest',
|
|
'GM.notification',
|
|
'GM.getValue',
|
|
'GM.setValue'
|
|
],
|
|
connect: [
|
|
'3cxtapi.cp-austria.at'
|
|
],
|
|
'run-at': 'document-end'
|
|
}
|