Closed
Description
Type of issue
Feature request
Description
I need to retrieve the canonical url from the <link rel="canonical".. > element <link (https://www.w3.org/TR/capability-urls/#canonical-urls)
Up till now I used the utils.getWindowTop() function to get the document and run a query on the top level DOM.
But since this function is about to get deprecated, there needs to be some alternative to get the canonical URL.
I suppose it's a common thing for adapters to do, having this as a utility function can be useful.