PageSourceSearch

https://chefspantry.online/wp-content/themes/grocery-supermarket-e…/js/admin-plugin-install.js?ver=1.0.0

js chefspantry.online collected 2026-10-06 20:55:26 UTC 1,846 bytes, 45 lines download raw bytes

1(function($) {
2
3  window.addEventListener( 'load', function() {
4
5    if ( location.href.indexOf("fcgp-ocdi-installed=true") >= 0 ) {
6
7      if ( jQuery( '.ebp-wrap a[href*="plugins.php"]' ).length ) {
8        // window.history.back();
9        // location.href = ive_notice_params.admin_url + 'themes.php';
10        // jQuery( '.ebp-wrap a[href*="plugins.php"]' ).click();
11        location.href = jQuery( '.ebp-wrap a[href*="plugins.php"]' ).attr('href');
12      } else {
13        // Select the node that will be observed for mutations
14        const targetNode = document.querySelector( '.ebp-wrap' );
15        // Options for the observer (which mutations to observe)
16        const config = { attributes: true, childList: true, subtree: true };
17        // Callback function to execute when mutations are observed
18        const callback = function( mutationsList, observer ) {
19
20          // Use traditional 'for loops' for IE 11
21          for( const mutation of mutationsList ) {
22            if ( mutation.type === 'childList' ) {
23            } else if ( mutation.type === 'attributes' ) {
24            }
25            if ( jQuery( '.ebp-wrap a[href*="plugins.php"]' ).length ) {
26              // window.history.back();
27              // location.href = ive_notice_params.admin_url + 'themes.php';
28              // jQuery( '.ebp-wrap a[href*="plugins.php"]' ).click();
29              location.href = jQuery( '.ebp-wrap a[href*="plugins.php"]' ).attr('href');
30            }
31          }
32        };
33        // Create an observer instance linked to the callback function
34        const observer = new MutationObserver(callback);
35        // Start observing the target node for configured mutations
36        observer.observe(targetNode, config);
37        // Later, you can stop observing
38        // observer.disconnect();
39      }
40
41    }
42
43
44  }, false);
45})( jQuery );

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.