Skip to content

Commit 9142016

Browse files
committed
0.0.247 with Fix #252 hook.parameters.appPathRoot in demo/disable-devtools.js to block source code access
1 parent 26b3b4a commit 9142016

10 files changed

+11
-11
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "thin-hook",
3-
"version": "0.0.246",
3+
"version": "0.0.247",
44
"description": "Thin Hook Preprocessor",
55
"main": "hook.min.js",
66
"authors": [

demo/empty-document.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<html>
77
<head>
88
<meta charset="utf-8">
9-
<script src="../../thin-hook/hook.min.js?no-hook=true&hook-name=__hook__&context-generator-name=method&discard-hook-errors=false&fallback-page=index-fb.html&hook-property=true&hook-global=true&hook-prefix=_pp_&compact=true&no-hook-authorization=e8d788d5b260a5c57deaabd9c3776d70d4349e2ef4e10ecd4ce279edcccfab00,log-no-hook-authorization"></script>
9+
<script src="../../thin-hook/hook.min.js?no-hook=true&hook-name=__hook__&context-generator-name=method&discard-hook-errors=false&fallback-page=index-fb.html&hook-property=true&hook-global=true&hook-prefix=_pp_&compact=true&no-hook-authorization=703195064b8757bfa76b69f7a69b77e533b9fb5a3aeb01d0f4cb25052dba90d2,log-no-hook-authorization"></script>
1010
<script context-generator src="no-hook-authorization.js?no-hook=true"></script>
1111
<script context-generator src="context-generator.js?no-hook=true"></script>
1212
<script context-generator src="bootstrap.js?no-hook=true"></script>

demo/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<html lang="en">
1616
<head>
1717
<meta charset="utf-8">
18-
<script src="../../thin-hook/hook.min.js?version=491&no-hook-authorization=e8d788d5b260a5c57deaabd9c3776d70d4349e2ef4e10ecd4ce279edcccfab00,a578e741369d927f693fedc88c75b1a90f1a79465e2bb9774a3f68ffc6e011e6,log-no-hook-authorization&sw-root=/&no-hook=true&hook-name=__hook__&context-generator-name=method&discard-hook-errors=false&fallback-page=index-fb.html&hook-property=true&hook-global=true&hook-prefix=_pp_&compact=true&service-worker-ready=false"></script></head></html><!--
18+
<script src="../../thin-hook/hook.min.js?version=491&no-hook-authorization=703195064b8757bfa76b69f7a69b77e533b9fb5a3aeb01d0f4cb25052dba90d2,a578e741369d927f693fedc88c75b1a90f1a79465e2bb9774a3f68ffc6e011e6,log-no-hook-authorization&sw-root=/&no-hook=true&hook-name=__hook__&context-generator-name=method&discard-hook-errors=false&fallback-page=index-fb.html&hook-property=true&hook-global=true&hook-prefix=_pp_&compact=true&service-worker-ready=false"></script></head></html><!--
1919
<script context-generator src="no-hook-authorization.js?no-hook=true"></script>
2020
<script context-generator src="disable-devtools.js?no-hook=true"></script>
2121
<script context-generator src="context-generator.js?no-hook=true"></script>

demo/no-hook-authorization.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
// hook.parameters.noHookAuthorizationFailed
1010
// JSONs are output to console in the learning mode
1111
//'*': true,
12-
"478721691bd84fcef4649b28d22f8202ce9cc5fbd5f02d42656645f7d74a62a2": true, // hook.min.js
13-
"4a2525eac80c632fa216e66dcbb5213bb02d2a2bd5e2843cce148718fdd929cf": true, // demo/disable-devtools.js
12+
"6f60d0b00764800c5ed155379ad5cac01a1024ad4da5482b97298400b5dc78e3": true, // hook.min.js
13+
"7b0a9320b080be01846eb782d7a05d4d66810030851709dfb640f0dc9cc14746": true, // demo/disable-devtools.js
1414
"7e0fcbf73f8a30d98082c497e4bec73f2b49e5bee70605bb8838aed035763868": true, // demo/context-generator.js
1515
"936299cf27465a19054ab800609fe1723469d204b45f239172b2018e1970126b": true, // demo/bootstrap.js
1616
"d685decde54172680c871cd87880443f24d502fdba0ead469f156649d7bd317a": true, // demo/hook-callback.js

demo/original-index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<html lang="en">
1616
<head>
1717
<meta charset="utf-8">
18-
<script src="../../thin-hook/hook.min.js?version=491&no-hook-authorization=e8d788d5b260a5c57deaabd9c3776d70d4349e2ef4e10ecd4ce279edcccfab00,a578e741369d927f693fedc88c75b1a90f1a79465e2bb9774a3f68ffc6e011e6,log-no-hook-authorization&sw-root=/&no-hook=true&hook-name=__hook__&context-generator-name=method&discard-hook-errors=false&fallback-page=index-fb.html&hook-property=true&hook-global=true&hook-prefix=_pp_&compact=true&service-worker-ready=true"></script>
18+
<script src="../../thin-hook/hook.min.js?version=491&no-hook-authorization=703195064b8757bfa76b69f7a69b77e533b9fb5a3aeb01d0f4cb25052dba90d2,a578e741369d927f693fedc88c75b1a90f1a79465e2bb9774a3f68ffc6e011e6,log-no-hook-authorization&sw-root=/&no-hook=true&hook-name=__hook__&context-generator-name=method&discard-hook-errors=false&fallback-page=index-fb.html&hook-property=true&hook-global=true&hook-prefix=_pp_&compact=true&service-worker-ready=true"></script>
1919
<script context-generator src="no-hook-authorization.js?no-hook=true"></script>
2020
<script context-generator src="disable-devtools.js?no-hook=true"></script>
2121
<script context-generator src="context-generator.js?no-hook=true"></script>

demo/sub-document.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<html lang="en">
77
<head>
88
<meta charset="utf-8">
9-
<script src="../../thin-hook/hook.min.js?no-hook=true&no-hook-authorization=e8d788d5b260a5c57deaabd9c3776d70d4349e2ef4e10ecd4ce279edcccfab00,log-no-hook-authorization"></script>
9+
<script src="../../thin-hook/hook.min.js?no-hook=true&no-hook-authorization=703195064b8757bfa76b69f7a69b77e533b9fb5a3aeb01d0f4cb25052dba90d2,log-no-hook-authorization"></script>
1010
<script context-generator src="no-hook-authorization.js?no-hook=true"></script>
1111
<script context-generator src="context-generator.js?no-hook=true"></script>
1212
<script context-generator src='bootstrap.js?no-hook=true'></script>

demo/sub-sub-document.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<html lang="en">
77
<head>
88
<meta charset="utf-8">
9-
<script src="../../thin-hook/hook.min.js?no-hook=true&no-hook-authorization=e8d788d5b260a5c57deaabd9c3776d70d4349e2ef4e10ecd4ce279edcccfab00,log-no-hook-authorization"></script>
9+
<script src="../../thin-hook/hook.min.js?no-hook=true&no-hook-authorization=703195064b8757bfa76b69f7a69b77e533b9fb5a3aeb01d0f4cb25052dba90d2,log-no-hook-authorization"></script>
1010
<script context-generator src="no-hook-authorization.js?no-hook=true"></script>
1111
<script context-generator src="context-generator.js?no-hook=true"></script>
1212
<script context-generator src='bootstrap.js?no-hook=true'></script>

hook.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "thin-hook",
3-
"version": "0.0.246",
3+
"version": "0.0.247",
44
"description": "Thin Hook Preprocessor",
55
"main": "hook.js",
66
"scripts": {

test/hook.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)