Changeset 1236249
- Timestamp:
- 09/02/2015 11:34:43 AM (11 years ago)
- Location:
- adpushup/trunk
- Files:
-
- 3 edited
-
adpushup.php (modified) (1 diff)
-
injector.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
adpushup/trunk/adpushup.php
r1178981 r1236249 5 5 Plugin URI: http://adpushup.com 6 6 Description: Maximize your AdSense Ad Revenue! 7 Version: 0. 87 Version: 0.9 8 8 Author: AdPushup 9 9 Author URI: http://www.adpushup.com -
adpushup/trunk/injector.php
r1178981 r1236249 54 54 // AdPushup noscript code starts (Required for call by server) 55 55 echo ' 56 <!-- AdPushup Begins --> 56 57 <noscript> 57 58 _ap_ufes' . $no_script_code . '_ap_ufee … … 60 61 // AdPushup noscript code ends 61 62 // AdPushup script code starts 62 echo ' 63 echo ' 63 64 <script data-cfasync="false" type="text/javascript"> 64 (function () { 65 var s = document.createElement("script"); 66 s.type = "text/javascript"; 67 s.async = true; 68 s.src = "//optimize.adpushup.com/' . esc_js($adpushup_site_id ? $adpushup_site_id . '/' : '') . 'ap.js"; 69 (document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(s); 70 71 ((window.adpushup = window.adpushup || {}).configure = (window.adpushup.configure || [])).push({ 72 "siteId": "' . esc_js($adpushup_site_id) . '", 73 "pageGroup": "' . $page_group . '", 74 "siteDomain": "' . $site_domain . '", 75 "pageUrl": "' . esc_js($URI) . '", 76 "referrer": "' . esc_js($referer) . '", 77 "cms": "wordpress", 78 "pluginVer": "' . $plugin_version . '" 79 }); 80 })(); 65 !function(e,n){function a(){e.jQuery&&e.jQuery.fn.jquery.match(/^1.11./)&&!u.jqLoaded&&(r.tl_jqLoaded=+new Date)&&(u.jqLoaded=1),"function"==typeof t.runAp&&!u.apLoaded&&(r.tl_apLoaded=+new Date)&&(u.apLoaded=1),!t.configure.config.apRun&&e.jQuery&&e.jQuery.fn.jquery.match(/^1.11./)&&"function"==typeof t.runAp&&(t.runAp(jQuery),t.configure.push({apRun:!0})),!t.configure.config.e3Run&&e.apjQuery&&void 0!==t.ap&&"function"==typeof t.ap.triggerAdpushup&&o&&void 0!==o&&(t.configure.push({e3Run:!0}),t.ap.triggerAdpushup(o))}(e.adpushup=e.adpushup||{}).configure={config:{e3Called:!1,jqLoaded:0,apLoaded:0,e3Loaded:0,rand:Math.random()}};var t=e.adpushup,o=null,u=t.configure.config,r=t.timeline={};r.tl_adpStart=+new Date,t.utils={uniqueId:function(e){var n,a=+new Date,e=void 0===e?"":e+"";return e=e.length<16?"xxxxxxxxxxxxxxxx".substring(0,16-e.length)+e:e.substring(0,16),e+"-xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){return n=((a=Math.floor(a/16))+16*Math.random())%16|0,("x"==e?n:3&n|8).toString(16)})},loadScript:function(e,a,t){var o=n.createElement("script");o.src=e,o.type="text/javascript",o.async=!0,o.onerror=function(){"function"==typeof t&&t.call()},"object"==typeof n.attachEvent?o.onreadystatechange=function(){"loaded"==o.readyState||"complete"==o.readyState?o.onreadystatechange=null:null}:o.onload=function(){"function"==typeof a?a.call():null},(n.getElementsByTagName("head")[0]||n.getElementsByTagName("body")[0]).appendChild(o)}},t.configure.push=function(e){for(var a in e)this.config[a]=e[a];if(!this.config.e3Called&&this.config.siteId&&this.config.pageGroup&&this.config.packetId){var o=this.config,u=+new Date;t.utils.loadScript("http://e3.adpushup.com/E3WebService/e3?ver=2&callback=e3Callback&siteId="+o.siteId+"&url="+encodeURIComponent(o.pageUrl)+"&pageGroup="+o.pageGroup+"&referrer="+encodeURIComponent(n.referrer)+"&cms="+o.cms+"&pluginVer="+o.pluginVer+"&rand="+o.rand+"&packetId="+o.packetId+"&_="+u),o.e3Called=!0,r.tl_e3Requested=u}t.ap&&"function"==typeof t.ap.configure&&t.ap.configure(e)},e.e3Callback=function(){arguments[0]&&!u.e3Loaded&&(r.tl_e3Loaded=+new Date)&&(u.e3Loaded=1),o=arguments[0],a()},t.configure.push({siteId:"' . esc_js($adpushup_site_id) . '",packetId:t.utils.uniqueId(' . esc_js($adpushup_site_id) . '),pageGroup:"' . $page_group . '",siteDomain:"' . $site_domain . '",pageUrl:"' . esc_js($URI) . '",referrer:"' . esc_js($referer) . '",cms:"wordpress",pluginVer:"' . $plugin_version . '"}),t.utils.loadScript("//optimize.adpushup.com/'.esc_js($adpushup_site_id).'/apv2.js",a),r.tl_apRequested=+new Date,t.utils.loadScript("//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js",a),r.tl_jqRequested=+new Date}(window,document); 81 66 </script> 67 <!-- AdPushup Ends --> 82 68 '; 83 69 // AdPushup script code ends -
adpushup/trunk/readme.txt
r1178981 r1236249 4 4 Requires at least: 3.5 5 5 Tested up to: 4.2.2 6 Stable tag: 0. 86 Stable tag: 0.9 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.