Changeset 1674804
- Timestamp:
- 06/09/2017 01:57:58 PM (9 years ago)
- Location:
- ultimate-popunder/trunk
- Files:
-
- 3 edited
-
assets/ultimate-popunder.js (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
ultimate-popunder.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ultimate-popunder/trunk/assets/ultimate-popunder.js
r1671296 r1674804 3 3 weighedURL = []; 4 4 5 for (var i = 0; i < URLlist.length; i++) 5 // Ensure we are defined before continuing 6 if (typeof URLlist !== 'undefined' && URLlist !== null) 6 7 { 7 totalURLWeight += URLlist[i][1]; 8 for (var i = 0; i < URLlist.length; i++) 9 { 10 totalURLWeight += URLlist[i][1]; 11 } 12 13 while (currentURL < URLlist.length) 14 { 15 for (i = 0; i < URLlist[currentURL][1]; i++) 16 { 17 weighedURL[weighedURL.length] = URLlist[currentURL][0]; 18 } 19 currentURL++ 20 } 21 22 var pURL = weighedURL[Math.floor(Math.random() * weighedURL.length)]; 23 if (URLlist.length > 0) { 24 jsUnda(pURL, ultimatePopunderSettings); 25 } 8 26 } 9 10 while (currentURL < URLlist.length)11 {12 for (i = 0; i < URLlist[currentURL][1]; i++)13 {14 weighedURL[weighedURL.length] = URLlist[currentURL][0];15 }16 currentURL++17 }18 19 var pURL = weighedURL[Math.floor(Math.random() * weighedURL.length)];20 if (URLlist.length > 0) {21 jsUnda(pURL, ultimatePopunderSettings);22 } -
ultimate-popunder/trunk/readme.txt
r1674778 r1674804 34 34 35 35 == Changelog == 36 = 1.1.3 = 37 * Fix JS error on Woocommerce @single and @shop 38 36 39 = 1.1.2 = 37 40 * Bump to support 4.8 -
ultimate-popunder/trunk/ultimate-popunder.php
r1674778 r1674804 5 5 Plugin URI: # 6 6 Description: Be able to create any popunder AD for your site, and track the activity in 3rd party systems as well. 7 Version: 1.1. 27 Version: 1.1.3 8 8 Author: Cris Griffith 9 9 Author URI: https://profiles.wordpress.org/webmasterjunkie … … 13 13 defined( 'ABSPATH' ) or die( 'No script kiddies please!' ); 14 14 15 define( 'ULTIMATE_POPUNDER_VERSION', '1.1. 2' );15 define( 'ULTIMATE_POPUNDER_VERSION', '1.1.3' ); 16 16 17 17 require_once( plugin_dir_path( __FILE__ ) . "functions.php" );
Note: See TracChangeset
for help on using the changeset viewer.