PluginProbe
Taboola Pixel / 1.0.22
Taboola Pixel v1.0.22
trunk 1.0.21 1.0.22 1.0.23 1.0.24 1.1.3 1.1.4 1.1.5 1.1.6 1.1.8
taboola-pixel / assets / loading.html

loading.html in Taboola Pixel 1.0.22, at assets/loading.html

31 lines 940 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Loading...</title>
5 <script>
6 // Function to get URL parameters
7 function getParameterByName(name, url = window.location.href) {
8 name = name.replace(/[\[\]]/g, '\\$&');
9 var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'),
10 results = regex.exec(url);
11 if (!results) return null;
12 if (!results[2]) return '';
13 return decodeURIComponent(results[2].replace(/\+/g, ' '));
14 }
15
16 // Get the redirect URL from the query parameter
17 var redirectUrl = getParameterByName('url');
18
19 // Wait 100ms and then redirect
20 if (redirectUrl) {
21 setTimeout(function() {
22 window.location.href = redirectUrl;
23 }, 100);
24 } else {
25 document.write('No redirect URL specified.');
26 }
27 </script>
28 </head>
29 <body>
30 </body>
31 </html>