Overwrite internal browser using Userscript (TamperMonkey)
k
kakushitakaze
Not all website supports Open Graph protocol properly, i.e. the meta properties
og:title
, og:image
, and og:url
might be missing or incorrectly provided.This can be ownself fixed by the users, if we can overwrite a collection of webpages via Userscripts. This would require the underlying browser to be exposed somehow.
k
kakushitakaze
I've successfully override the title by changing the
title
and og:title
tags using Userscript before triggering the Anybox chrome extension. I would believe the same can be done for URL.So I'm only left with image... One way we can solve this is for the Chrome extension to also allow the link icon/image to be taken from the site during save, or can be overwrited in the pop-up modal. The screenshot can also be taken now, if there is not image provided. That would be better than the current action where Anybox will ownself take a trip to the webpage to grab the icon/image anew. This is also useful for situations where the webpage is hidden behind Cloudflare or other kind of redirect/pop-up/modal that interfere with the grabbing of the image.