Hi
I have the same issue than this guy but i don’t understand what i have to do to fix that.
Could you help me please?
Thanks
Mathieu
[moderated: replaced tinyurl with real link]
]]>Hello,
After installing the plugin, the google map on my homepage doesn’t load anymore, I’ve tried excluding the gmap3.js file to no available. What should I do ?
Thank you
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>I’m reposting my reference to the thread Simple Lightbox Doesn’t Always Work with Async JS Enabled, as in fact, the issue is NOT resolved.
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>Is integrating Typekit calls with Async JS possible and productive?
I am currently just hard-coding the provided async Typekit code into my footer.php (which seemed to improve apparent loading time compared to the suggested approach of putting it in the header.php).
<script type="text/javascript">
(function(d) {
var tkTimeout=3000;
if(window.sessionStorage){if(sessionStorage.getItem('useTypekit')==='false'){tkTimeout=0;}}
var config = {
kitId: <REDACTED>,
scriptTimeout: tkTimeout
},
h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\bwf-loading\b/g,"")+"wf-inactive";if(window.sessionStorage){sessionStorage.setItem("useTypekit","false")}},config.scriptTimeout),tk=d.createElement("script"),f=false,s=d.getElementsByTagName("script")[0],a;h.className+="wf-loading";tk.src='//use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!="complete"&&a!="loaded")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s)
})(document);
Site: theshelterblog.com
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>On the whole, I’m pleased with the speed improvement of your plug-in, but I’m noticing that Simple Lightbox often is not working as reliably as before I installed Async JS. If you wait long enough, it may work, or it may just load linked graphics in the WP default manner.
I suspect that something in the Simple Lightbox package is being delayed too long. I’m pretty sure that the plugin is using wp_enqueue_script, but there are so many files, that tracking down all the instances is a pain.
But I’m not sure how to determine which files need to be excluded, as there are a large number of JS files scattered through numerous folders within the plugin. It doesn’t seem as though you can do a bulk name exclude like “/wp-content/plugins/simple-lightbox/*”or something like that, right?
What is my best option here?
The website on which I’m experiencing the issue is: theshelterblog.com
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>Wouldn’t it make sense to defer the script this plugin loads as well?
By changing line 147 of asynchronous-javascript.php to:
$headinclude = '<script defer type="text/javascript" src="' . plugins_url( '/js/'.$options['head_file'], __FILE__ ) . '"></script>';
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>Hi
I am using 4.1.1 and would really like to use this plug in, but don’t want to risk it, I am not a plug in developer so am wondering if you have any plans to update it?
M
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>When I visit wp-login.php page, this plugin always leaves a warning in error log
PHP Warning: Creating default object from empty value in /path/to/wp-content/plugins/asynchronous-javascript/asynchronous-javascript.php on line 119
You’d better to stop calling action_prevent_script_output
on login screen or check existence of $wp_scripts
in the function.
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>Hi there,
I was installed your plugin and I it make progress about SEO but it broke Justified Image Grid photo gallery code. I’m sorry because I’m not expert so I don’t know what to do. Can you please advise me something?
If you need more information please let me know.
Cheers
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>This plugin make Facebook Comment does not work, FB like etc also not shown.
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>Hi, i’m having issues excluding gmaps from the async.
I have an include of script that uses gmaps, so i exclude both, and i get
`Failed to execute ‘write’ on ‘Document’: It isn’t possible to write into a document from an asynchronously-loaded external script unless it is explicitly opened. js?sensor=false&v=3.13:8
so i don’t know if its working.
Thanks for any reply that points me to the right direction ??
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>I am using newspaper theme for my news blog i.e https://www.tecake.com, that is quite heavy to load.
To optimize site’s performance, i had used so many plugins for asynchronous js,css load. My CDN also offers me the same feature. But the main problem is this async load is blocking scrips which is dropping the feature of homepage slider and mobile theme main menu.
I want to know how to exclude these scripts to be blocked. Currently i am using Asynchronous Java Script a wordpress plugin because it has a feature to exclude the scripts.
Don’t know what to exclude.
ThankYou!!
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>Hello Paris,
I have a couple of essential JS files that I would like to load via head.js and a number of none-essential js files I would like to load in the footer of the site.
How do I make the head.js footer call to come before the excluded enqueued footer scripts?
ie, currently I have:
<script type="text/javascript" src="https://www.website.com/wp-content/plugins/plugin/js/non-essential-footer-script1.js"></script>
<script type="text/javascript" src="https://www.website.com/wp-content/plugins/plugin/js/non-essential-footer-script2.js"></script>
<script type="text/javascript">head.js({"jquery-ui-core": "https://www.website.com/wp-includes/js/jquery/ui/jquery.ui.core.min.js?ver=1.10.4"},"jquery": "https://www.website.com/wp-includes/js/jquery/jquery.min.js"});</script>
I would like to have the head.js load before the none-essential footer scripts like:
<script type="text/javascript">head.js({"jquery-ui-core": "https://www.website.com/wp-includes/js/jquery/ui/jquery.ui.core.min.js?ver=1.10.4"},"jquery": "https://www.website.com/wp-includes/js/jquery/jquery.min.js"});</script>
<script type="text/javascript" src="https://www.website.com/wp-content/plugins/plugin/js/non-essential-footer-script1.js"></script>
<script type="text/javascript" src="https://www.website.com/wp-content/plugins/plugin/js/non-essential-footer-script2.js"></script>
Can you please help?
Thanks and great plugin!
Paul
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>How do I exclude JS files? I have a slider and would like to exclude it.
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>Sir Paris,
Hi, i just want to inform you that when i activated this plugin, the revslider which is a video on my front page didn’t work or show up on the page. But my page speed greatly increased. I think i could exclude the js where revslider is dependent on so i could see my slider on the front page, i just don’t know what js is that.
Thank you.
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>This plugin causes jQuery to be loaded in such a way and at a time that Gravity Forms throws an error that jQuery is undefined. Had to delete.
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>Hello,
I downloaded the plugin to fix an issue I was having with minifying javascript. It worked really, really well for that. But the plugin created a different issue. It overwrote my .htaccess file’s expiration dates for javascript files.
How can I change expiration dates from 2 days to 1 month?
Note: I’m new to all this coding stuff.
Thank you!
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>I installed this plugin to speed up time and now the royal slider images are not loading on page. Website is dev.ussailing.org. Any idea how I can get this to load?
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>I’m using the attitude theme by themehorse on my website: https://heronuggets.com
everything works fine with your plugin, except for the built in image slider. I found the .JS file that I believe is used for the slider (attitude-slider-setting.js). So I placed it into the file exception as:
attitude-slider-setting.js,
my slider is still frozen on the page, even after listing it as an exception. Am I supposed to add something else? Is there some core js file necessary? Here’s the code inside the JS file:
Here’s the code in the file:
/**
* Slider Setting
*
* Contains all the slider settings.
*/
jQuery(window).load(function() {
var transition_effect = attitude_slider_value.transition_effect;
var transition_delay = attitude_slider_value.transition_delay;
var transition_duration = attitude_slider_value.transition_duration;
jQuery('.slider-cycle').cycle({
fx: transition_effect, // name of transition effect (or comma separated names, ex: 'fade,scrollUp,shuffle')
pager: '#controllers', // element, jQuery object, or jQuery selector string for the element to use as pager container
activePagerClass: 'active', // class name used for the active pager element
timeout: transition_delay, // milliseconds between slide transitions (0 to disable auto advance)
speed: transition_duration, // speed of the transition (any valid fx speed value)
pause: 1, // true to enable "pause on hover"
pauseOnPagerHover: 1, // true to pause when hovering over pager link
width: '100%',
containerResize: 0, // resize container to fit largest slide
fit: 1,
after: function () {
jQuery(this).parent().css("height", jQuery(this).height());
},
cleartypeNoBg: true
});
});
could you possibly tell me what I can use as the “key”? I’m not overly familiar with javascript yet, so it is a bit of a guessing game for me. Thanks.
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>Hi, are there any issues with this plugin and W3 total cache minifying functions? Do I need to tell W3 Total cache to ignore any js files or should everything work as expected? I am having some issues after installing this with shortcodes ultimate and paid membership pro and I think it has something to do with this plugin getting minified.
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>Similar plugins also allow you to minify js. I would like to stick to your plugin however. Is there a possibility to minify non-header js?
Google PageSpeed Insights shows me with your plugin:
Minifying https://paleosmak.pl/…/twentyfourteen/js/functions.js?ver=20131209 could save 560B (40% reduction) after compression.
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>Hi there,
Im thinking to install your plugin, but Im concerned about the incompatibility with JetPack. I use JetPack for my site stats. Do I need to deactivate it in order for your plugin to work?
Thanks
D.
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>I have Infinite Scroll installed and when using asynchronous-javascript it stops working, any ideas how i can exclude this plugin?
Website is: carwitter.com
I have left the Asynchronos-javascript on and Infinite scroll.
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>Hi all.
When I have this plugin activated, everything seems to work fine, except for that the featured images on my main blog page never load.
Does anyone how to fix, or what files I might want to exclude? My console gives the following errors, but not sure if they’re related.
Uncaught ReferenceError: jQuery is not defined (index):122
Uncaught ReferenceError: jQuery is not defined (index):286
Failed to load resource https://thekitchenrag.disqus.com/count.js
Uncaught SyntaxError: Unexpected token ILLEGAL
Thanks for any help.
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>I started using this plugin to speed up a few websites, but I found that it made the javascript image lightbox popup thing very erratic on these two sites:
https://www.ianstuart-bride.com/
https://www.ianstuart-london.com/
An example page is here. https://www.ianstuart-bride.com/dress/cachel/
Note: The plugin has been disabled, but I am describing what happened when it was enabled.
If one clicked on the image, most of the time the image was viewed as a straight image link and not in the javascript viewer thing. If I then clicked back on the browser and tried again, the image viewer would then work.
Also, the similar viewer on this site (called FancyBox) did not work at all:
https://accessories.ianstuart-bride.com/
Example page: https://accessories.ianstuart-bride.com/product/jasminebracelet/
Is there any way to use this plugin to make javascript asynchronously, without it breaking these image viewers?
I can enable the plugin on a couple of these sites for a few hours, for troubleshooting, if required.
]]>Hi. This and other plugins like it seems to render the Jetpack LIKE (blue star) button into a perpetual “{Loading” state. Do you know how to correct this?
Thanks.
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>Hello,
Installation of this plugin worked well for us but we are still seeing remove js from the theme we are utilizing. Should these files be placed in exclude by file section? Like this:
themes/Automotiv/js/superfish.js
/themes/Automotiv/js/supersubs.js
/themes/Automotiv/js/cookies.js
/themes/Automotiv/js/cufon.js
/themes/Automotiv/js/font_museo_sans.js
/themes/Automotiv/js/jquery.cycle.all.min.js
/themes/Automotiv/js/scrolltopcontrol.js
/themes/Automotiv/js/preload.js
/themes/Automotiv/js/tooltips.js
/themes/Automotiv/js/jquery.prettyPhoto.js
/themes/Automotiv/js/custom.js
Thank you for any help or explanation further.
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>Hello Paris,
It would be good if there was a function that would allow people to add external js files to head.js (ie, outside of files that get added by wordpress plugins and such).
Is this a feature you think you could implement?
Regards,
Paul
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>Hello Paris,
You able to update your plugin to load the new head.js file as default available from headjs.com. It was released on the 5th Novemeber…
Thanks,
PAul
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>Hello, You Plugin is great and works fine in my blog wit wordress 3.6.1, How i can put the Outputs headjs code (wp-content/plugins/asynchronous-javascript/js/head.load.min.js) in footer?
https://www.ads-software.com/plugins/asynchronous-javascript/
]]>