oblique-bit / oblique

An Angular front-end framework Tailored for your swiss branded business web application, Oblique provides a standardized corporate design look and feel as well as a collection of ready-to-use Angular components. Oblique, through its fully customizable master layout, takes care of the application's structure, letting you focus on the content.
https://oblique.bit.admin.ch
MIT License
55 stars 13 forks source link

Unsupported browser in google search #98

Closed BenjaminHofstetter closed 4 months ago

BenjaminHofstetter commented 1 year ago

Google search shows for some routes(?) the content: "Unsupported browser! Some features required for this application to run are not supported by your browser. Please note that the Swiss Confederation only ..."

Below is a funny query to detect oblique in *.admin.ch

https://www.google.com/search?q=site:admin.ch+Unsupported+browser!+Some+features+required+for+this+application+to+run+are+not+supported+by+your+browser.+Please+note+that+the+Swiss+Confederation&lr=lang_de&client=safari&rls=en&tbs=lr:lang_1de&sxsrf=APwXEdfWiRw3PqsxIO84MtzFbuaPSrhOuw:1680126491013&ei=G7IkZKAzq4b27w_Vh6WYAQ&start=0&sa=N&ved=2ahUKEwjgrLL1joL-AhUrg_0HHdVDCRM4ChDy0wN6BAgFEAQ&biw=1512&bih=739&dpr=2

gillerr commented 4 months ago

Hi @BenjaminHofstetter

Thank you for your feedback and sorry for the delay, we had our plates full for a while.

I took some time to analyze this problem and I don't understand what is happening. It seems that Google decides itself what is the best snippet of a website based on the content and the content meta tag.

I think our best bet would be to add data-nosnippet (https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag#data-nosnippet-attr) on the compatibility warning to ensure it won't be used as a snippet anymore

nina-egger commented 4 months ago

Note: Tracked in ticket OUI-3051

nina-egger commented 4 months ago

fixed with version 11.1.2