Current time: 03-08-2021, 12:11 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Detecting and removing overlays
10-28-2020, 08:05 AM
Post: #1
Detecting and removing overlays
I'm looking at the performance of a number of websites, none of which I control. I'm particularly interested in Last Contentful Paint and Custom Hero Paint times.

Unfortunately, there are overlays on many of the sites I'm looking at, which kills the LCP algorithms.

I'm trying to detect overlays and remove them, in the hope of getting the LCP to work.

Does anyone have an experience doing this?
Could anyone suggest an approach that might work?
Does anyone have a working example of sendKeyPress using a document attribute they find during script execution?


Find all posts by this user
Quote this message in a reply
10-28-2020, 08:43 AM
Post: #2
RE: Detecting and removing overlays
I tend to work out what cookie or local storage entry the overlay is checking for and then add it via a WPT script, or inject JS


Using WebPageTest -
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump:

User(s) browsing this thread: 1 Guest(s)