CMS Development

fordburgess
メンバー

How to edit/delete event listeners for "Website pages"

解決

Hello, I'm currently assessing my site's SEO performance using Google PageSpeed insights, and one of the apects of my page I'm being told to improve is using passive listeners to improve scrolling performance:

fordburgess_0-1673998948062.png

Can anyone inform me where or if I can actually change/edit this? Or if this is something that Hubspot sets automatically? Thank you in advance.

 

0 いいね!
1件の承認済みベストアンサー
amwilie
解決策
キーアドバイザー | Elite Partner
キーアドバイザー | Elite Partner

How to edit/delete event listeners for "Website pages"

解決

The report is showing jQuery as being the source. jQuery currently does not have support for passive event listeners. It's been an ongoing issue for a several years now that they hope to implement a fix for in version 4.0 (but who knows when that'll be released).

 

There's a proposed workaround you can see here - https://stackoverflow.com/questions/60357083/does-not-use-passive-listeners-to-improve-scrolling-per... - you would need to add the code into your theme/templates after wherever jQuery is being loaded. 

If this answer solved your question, please mark it as the solution!

Alyssa Wilie

Web Developer at Lynton

explore hubspot themes from lynton

Need custom website/integration development or help optimizing HubSpot for your organization?
Schedule a consultation with us, an award-winning HubSpot Elite Partner.


Or check out our blog to get the latest in marketing, design, integration, and HubSpot knowledge.

 

元の投稿で解決策を見る

0 いいね!
1件の返信
amwilie
解決策
キーアドバイザー | Elite Partner
キーアドバイザー | Elite Partner

How to edit/delete event listeners for "Website pages"

解決

The report is showing jQuery as being the source. jQuery currently does not have support for passive event listeners. It's been an ongoing issue for a several years now that they hope to implement a fix for in version 4.0 (but who knows when that'll be released).

 

There's a proposed workaround you can see here - https://stackoverflow.com/questions/60357083/does-not-use-passive-listeners-to-improve-scrolling-per... - you would need to add the code into your theme/templates after wherever jQuery is being loaded. 

If this answer solved your question, please mark it as the solution!

Alyssa Wilie

Web Developer at Lynton

explore hubspot themes from lynton

Need custom website/integration development or help optimizing HubSpot for your organization?
Schedule a consultation with us, an award-winning HubSpot Elite Partner.


Or check out our blog to get the latest in marketing, design, integration, and HubSpot knowledge.

 

0 いいね!