PluginProbe ʕ •ᴥ•ʔ
Akismet Anti-spam: Spam Protection / 3.1.6
Akismet Anti-spam: Spam Protection v3.1.6
5.7 3.0.4 3.0.5 3.1 3.1.1 3.1.10 3.1.11 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2 3.3 3.3.1 3.3.2 3.3.3 3.3.4 4.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.0.7 4.0.8 4.1 4.1.1 4.1.10 4.1.11 4.1.12 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 4.1.7 4.1.8 4.1.9 4.2 4.2.1 4.2.2 4.2.3 4.2.4 4.2.5 5.0 5.0.1 5.0.2 5.1 5.2 5.3 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 5.3.6 5.3.7 5.4 5.5 5.6 trunk 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.4.0 2.4.1 2.5.0 2.5.1 2.5.10 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 3.0.0 3.0.0-RC1 3.0.1 3.0.2 3.0.3
akismet / _inc / form.js
akismet / _inc Last commit date
img 10 years ago akismet.css 10 years ago akismet.js 10 years ago form.js 10 years ago
form.js
30 lines
1 var ak_js = document.getElementById( "ak_js" );
2
3 if ( ! ak_js ) {
4 ak_js = document.createElement( 'input' );
5 ak_js.setAttribute( 'id', 'ak_js' );
6 ak_js.setAttribute( 'name', 'ak_js' );
7 ak_js.setAttribute( 'type', 'hidden' );
8 }
9 else {
10 ak_js.parentNode.removeChild( ak_js );
11 }
12
13 ak_js.setAttribute( 'value', ( new Date() ).getTime() );
14
15 var commentForm = document.getElementById( 'commentform' );
16
17 if ( commentForm ) {
18 commentForm.appendChild( ak_js );
19 }
20 else {
21 var replyRowContainer = document.getElementById( 'replyrow' );
22
23 if ( replyRowContainer ) {
24 var children = replyRowContainer.getElementsByTagName( 'td' );
25
26 if ( children.length > 0 ) {
27 children[0].appendChild( ak_js );
28 }
29 }
30 }