Please remove ancient code
-
Hello,
I use the WP-Appbox plugin and the Google Search Console has notified me for this error: https://prnt.sc/13eik2l
The error is only for this page: https://www.android.com.gr/programmatismos-minymatwn-me-to-google-messages/amp/, that contain an app.
After some research I found that, the WP-Appbox has this CSS code:
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-resolution: 240dpi) { div.googleplay a.apptitle { background: url("https://www.android.com.gr/wp-content/plugins/wp-appbox/img/[email protected]") } }
The
min--moz-device-pixel-ratio
here is invalid. From looking at the MDN docs, this min–moz-device-pixel-ratio is ancient code that only works in Firefox versions before 16.I remove the code manually from the plugin in my website. But, I want ask you to remove the code completely in the coming update. None use today a 6 years old version of a browser.
The page I need help with: [log in to see the link]
- The topic ‘Please remove ancient code’ is closed to new replies.