You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
This issue was fixed and included in the 1.31.0 release (that just came out yesterday). If you have any additional questions/concerns on this topic, please let us know and we'll be happy to help.
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.
The text was updated successfully, but these errors were encountered: