PluginProbe
GetResponse Forms by Optin Cat / 2.4.1
GetResponse Forms by Optin Cat v2.4.1
1.3.4 1.3.5 1.3.6 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6.1 1.6.2 1.6.3 1.7.0 1.7.1 1.7.2 1.8.0 1.8.1 2.0.0 All 36 releases
getresponse / assets / pagecount.js

pagecount.js in GetResponse Forms by Optin Cat 2.4.1, at assets/pagecount.js

21 lines 456 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* jshint asi: true */
2 (function(){
3 set_cookie( 'fca_eoi_pagecount', parseInt( get_cookie( 'fca_eoi_pagecount' ) ) + 1 )
4
5 function set_cookie( name, value, exdays ) {
6 document.cookie = name + "=" + value + ";" + "path=/;"
7 }
8
9 function get_cookie( name ) {
10 var value = "; " + document.cookie
11 var parts = value.split( "; " + name + "=" )
12
13 if ( parts.length === 2 ) {
14 return parts.pop().split(";").shift()
15 } else {
16 return 0
17 }
18 }
19 })()
20
21