1
2
3
4
5
6
7
8
9
10
11
|
/*
* Copyright (c) 2016 - 2019 Jonathan Schleifer <js@heap.zone>
*
* https://heap.zone/git/cryptopassphrase.git
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice is present in all copies.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
1
2
3
4
5
6
7
8
9
10
11
|
/*
* Copyright (c) 2016 - 2020 Jonathan Schleifer <js@nil.im>
*
* https://fossil.nil.im/cryptopassphrase
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice is present in all copies.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
"</div>" +
"<div id='copyright'>" +
" Copyright © 2016 - 2019 Jonathan Schleifer" +
"</div>" +
"<p name='free_software'>" +
" CryptoPassphrase is free software and the source code is" +
" available at" +
" <a href='https://heap.zone/cryptopassphrase/'>here</a>." +
"</p>" +
"<p name='objfw'>" +
" It makes use of the" +
" <a href='https://heap.zone/objfw/'>ObjFW</a> framework and" +
" also uses its scrypt implementation." +
"</p>" +
"</body>" +
"</html>", baseURL: nil)
}
func webView(_ webView: UIWebView, shouldStartLoadWith request: URLRequest,
navigationType: UIWebView.NavigationType) -> Bool {
|
|
|
|
|
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
"</div>" +
"<div id='copyright'>" +
" Copyright © 2016 - 2019 Jonathan Schleifer" +
"</div>" +
"<p name='free_software'>" +
" CryptoPassphrase is free software and the source code is" +
" available at" +
" <a href='https://fossil.nil.im/cryptopassphrase'>here</a>." +
"</p>" +
"<p name='objfw'>" +
" It makes use of the" +
" <a href='https://objfw.nil.im/'>ObjFW</a> framework and also" +
" uses its scrypt implementation." +
"</p>" +
"</body>" +
"</html>", baseURL: nil)
}
func webView(_ webView: UIWebView, shouldStartLoadWith request: URLRequest,
navigationType: UIWebView.NavigationType) -> Bool {
|