summaryrefslogtreecommitdiff
path: root/frontend/gamma/js/BookmarkletHash.js
Unidiff
Diffstat (limited to 'frontend/gamma/js/BookmarkletHash.js') (more/less context) (ignore whitespace changes)
-rw-r--r--frontend/gamma/js/BookmarkletHash.js47
1 files changed, 47 insertions, 0 deletions
diff --git a/frontend/gamma/js/BookmarkletHash.js b/frontend/gamma/js/BookmarkletHash.js
new file mode 100644
index 0000000..2e0714c
--- a/dev/null
+++ b/frontend/gamma/js/BookmarkletHash.js
@@ -0,0 +1,47 @@
1/*
2
3Copyright 2008-2011 Clipperz Srl
4
5This file is part of Clipperz's Javascript Crypto Library.
6Javascript Crypto Library provides web developers with an extensive
7and efficient set of cryptographic functions. The library aims to
8obtain maximum execution speed while preserving modularity and
9reusability.
10For further information about its features and functionalities please
11refer to http://www.clipperz.com
12
13* Javascript Crypto Library is free software: you can redistribute
14 it and/or modify it under the terms of the GNU Affero General Public
15 License as published by the Free Software Foundation, either version
16 3 of the License, or (at your option) any later version.
17
18* Javascript Crypto Library is distributed in the hope that it will
19 be useful, but WITHOUT ANY WARRANTY; without even the implied
20 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21 See the GNU Affero General Public License for more details.
22
23* You should have received a copy of the GNU Affero General Public
24 License along with Javascript Crypto Library. If not, see
25 <http://www.gnu.org/licenses/>.
26
27*/
28
29 //18f820faffcdb5e847d4c5d5c4a1de6743baa1a0
30 //9b30434c73fb009b15fecaa904b44f9ced807577
31 //9b30434c73fb009b15fecaa904b44f9ced807577
32 varxh;
33 vardocumentText;
34
35try {
36 xh=new XMLHttpRequest();
37} catch(e) {
38 xh=new ActiveXObject("Msxml2.XMLHTTP");
39}
40
41xh.open("GET", window.location, false);
42xh.send(null);
43
44documentText = "#####" + xh.responseText + "####";
45//documentText = document.body.innerHTML;
46
47//console.log(documentText); \ No newline at end of file