Вікі-код для Mail Address Encryptor

Остання зміна 2021/10/18 11:57 автором Павло Заїченко

Сховати останніх авторів
Павло Заїченко 1.1 1 The Mail Address Encryptor extension is developed in JavaScript, it can operate in two mode, text mode and canvas picture generated mode, it prevents you using the mailto link and gives you the option to not display your email in code. The extension gives you the option to encrypt your email address using the email encryptor and generate the code to use in your pages.
2
3 = How to use this extension =
4
5 Please follow the bellow steps to use it:
6
7 * Use the email encryptor below, to encrypt your email and get your encrypted email link code :
8 ** Put your email on the email input field.
9 ** If you want see the encrypted email, click on the **Encrypt Email button** .
10 ** If you want to use a canvas image, check the checkbox **"Use Canvas image"** .
11 ** Click on the button **Generate the code** to get the email code to integrate on your page.
12
13 == Email Encryptor ==
14
15 {{include reference="MailAddressEncryptor.EncryptCode"/}}
16
17 == Examples ==
18
19 === **Without canvas image** ===
20
21 ==== Code ====
22
23 XWiki Syntaxe
24
25 {{code}}
26 [[Click here to send us an email>>||class="email-as" rel="pbagnpg/kjvxv.pbz" onclick="openMailer(this)"]]
27 {{/code}}
28
29 HTML Code
30
31 {{code}}
32 <a href="#" class="email-as" rel="pbagnpg/kjvxv.pbz" onclick="openMailer(this)">Click here to send us an email</a >
33 {{/code}}
34
35 ==== Result ====
36
37 [[Click here to send us an email>>||class="email-as" onclick="openMailer(this)" rel="pbagnpg/kjvxv.pbz"]]
38
39 ==== You can use an image in the place of the text like this: ====
40
41 [[[[image:email-image.gif||width="152"]]>>||class="email-as" onclick="openMailer(this)" rel="pbagnpg/kjvxv.pbz"]]
42
43
44 === **Using generated canvas image** ===
45
46 ==== Code ====
47
48 XWiki Syntaxe
49
50 {{code}}
51 [[ >>||class="email-as canvas-image" rel="pbagnpg/kjvxv.pbz" onclick="openMailer(this)"]]
52 {{/code}}
53
54 HTML Code
55
56 {{code}}
57 <a href="#" class="email-as canvas-image" rel="pbagnpg/kjvxv.pbz" onclick="openMailer(this)"> </a >
58 {{/code}}
59
60 ==== Result ====
61
62 [[ >>||class="email-as canvas-image" onclick="openMailer(this)" rel="pbagnpg/kjvxv.pbz"]]
63