# importify/1.0.12/assets/js/script.js

Importify – AI Dropshipping for WooCommerce, version 1.0.12. 25 lines.

- Page: https://pluginprobe.com/plugins/importify/1.0.12/code/assets/js/script.js
- Raw: https://pluginprobe.com/plugins/importify/1.0.12/raw/assets/js/script.js
- Modified: 2025-09-03T23:53:44+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/importify/1.0.12/code/assets/js/script.js#L10-L20`.

```javascript
jQuery(document).ready(function()
{
	if (window.location.href.indexOf("&autologin=true") > 0)
	{
		$("#importifyLoginBtn").trigger('click');
	}
});

function importifyGetUrlVars(url) 
{
  var vars = {};
  var parts = url.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) {
      vars[key] = value;
  });
  return vars;
}

function importifyPopifyVideo(event, element)
{
	event.preventDefault();

	var url = $(element).attr('data-video');
	var parts = popifyGetUrlVars(url);
	$('#importifyLeftVideos').html('<iframe src="https://www.youtube.com/embed/'+parts.v+'" style="padding-left:22px; margin-top:34px; max-width: 100%;" width="460" height="249" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>');
}
```
