fixed indentation on speech-search plugin to match the others
updated description to be clear it isn't for firefox
This commit is contained in:
parent
41f78f614d
commit
2990e938a6
@ -5,7 +5,7 @@
|
|||||||
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
|
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
|
||||||
// @updateURL @@UPDATEURL@@
|
// @updateURL @@UPDATEURL@@
|
||||||
// @downloadURL @@DOWNLOADURL@@
|
// @downloadURL @@DOWNLOADURL@@
|
||||||
// @description [@@BUILDNAME@@-@@BUILDDATE@@] Allow speech input for location search (webkit only for now)
|
// @description [@@BUILDNAME@@-@@BUILDDATE@@] Allow speech input for location search (webkit only for now - NOT Firefox)
|
||||||
// @include https://www.ingress.com/intel*
|
// @include https://www.ingress.com/intel*
|
||||||
// @include http://www.ingress.com/intel*
|
// @include http://www.ingress.com/intel*
|
||||||
// @match https://www.ingress.com/intel*
|
// @match https://www.ingress.com/intel*
|
||||||
@ -16,6 +16,7 @@ function wrapper() {
|
|||||||
// ensure plugin framework is there, even if iitc is not yet loaded
|
// ensure plugin framework is there, even if iitc is not yet loaded
|
||||||
if (typeof window.plugin !== 'function') window.plugin = function() {};
|
if (typeof window.plugin !== 'function') window.plugin = function() {};
|
||||||
|
|
||||||
|
|
||||||
// PLUGIN START ////////////////////////////////////////////////////////
|
// PLUGIN START ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
// use own namespace for plugin
|
// use own namespace for plugin
|
||||||
@ -43,7 +44,6 @@ function wrapper() {
|
|||||||
window.bootPlugins = [setup];
|
window.bootPlugins = [setup];
|
||||||
}
|
}
|
||||||
} // wrapper end
|
} // wrapper end
|
||||||
|
|
||||||
// inject code into site context
|
// inject code into site context
|
||||||
var script = document.createElement('script');
|
var script = document.createElement('script');
|
||||||
script.appendChild(document.createTextNode('('+ wrapper +')();'));
|
script.appendChild(document.createTextNode('('+ wrapper +')();'));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user