Permalink
Browse files

Add @version metadata + license

  • Loading branch information...
1 parent 4777baa commit afccfa6b44d33481211ba342430e97cede3abf61 @gierschv committed Aug 12, 2011
Showing with 678 additions and 2 deletions.
  1. +4 −2 GA-AnnotationsCopy.user.js
  2. +674 −0 LICENSE
@@ -1,5 +1,7 @@
// ==UserScript==
// @name Google Analytics - Copy profiles annotations
+// @version 0.1
+// @license GPLv3 (see LICENSE)
// @author Vincent Giersch <mail@vincent.sh>
// @description Copy annotations of Google Analytics profiles
// @include https://www.google.com/analytics/*
@@ -60,7 +62,7 @@ function letsJQuery() {
$('.C_ANNOTATIONS_COPY_CHCKBX > input').change(dumpAnnotationsProcess);
return false;
};
-
+
var showAnnotations = function() {
var annotationsArray = localStorage.getItem('annotations');
if (!annotationsArray)
@@ -91,7 +93,7 @@ function letsJQuery() {
// Send
$('.C_ANNOTATIONS_SAVE_BUTTON > b').click();
}
-
+
var pasteAnnotations = function() {
var annotationsArray = localStorage.getItem('annotations');
if (!annotationsArray)
Oops, something went wrong.

0 comments on commit afccfa6

Please sign in to comment.