laravel-page-speed
laravel-page-speed copied to clipboard
Javascript no longer works with source URL
After upgrading to version 2.0.0, Javascript no longer works with source URL, for example Google Adsense
Original:
</footer>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
</body>
</html>
laravel-page-speed 2.0.0:
</footer><script async src=</body></html>
Tested with different browsers.
ping @lucasMesquitaBorges
Thanks for reporting @steinger ! I'll check it
I have the same issue. This happens for all inline scripts, where no src is present: Original:
<script type="text/javascript">
After:
<script async src=<script type=text/javascript>
any fix for this issue?
I just removed the package, I couldn't get it fixed.
I've seen this happen with srcs from external links, and specifically removing its "https://" doesn't cause the error anymore, but now the link won't work properly. I don't know if anyone has a solution to this problem.
To be honest with you, I just removed the entire package for my laravel app to work properly.