{"url":"https://userstyles.org/styles/18976/perfect-display-target-link-language-hreflang","name":"Perfect display target link language (hreflang)","description":"This rules are for display the target language of a link when it is different of the text who contain it. It include a lot of scenario, according different attributes.\r\nBecause the \"lang\" attribute isn't always informed, I write too style 19012 , who always display hreflang (when the lang attribute is not specified).\r\nFor example : \r\n- when the text is english, and the target on french =\u003e (fr)\r\n- when the text is english, and the text of the link and the target are in french =\u003e (fr)\r\n- when the text is englsih, and the text of the- link is french and the target is german =\u003e (de)\r\n\r\nThis rules take in charge all target language, but to add a redaction language, just add declaration with the language name.\r\nBecause the language can be specified with an attribute Regional (e.g. \"en-us\"), I use CSS3 selector who allow to specify \"who start by\" : ^. So it can make problems on browser who don't support CSS3 (but yes, firefox 3.* support CSS3)\r\n\r\nFor more explications, look at http://delavy.hyperficiel.com/index.php?art=24\r\n\r\nIf these rules pose problems on some sites, say it here and I add exclusions","author":"Delavy","created":"2009-06-24T21:54:02.000Z","created_ago":"almost 17 years","updated":"2009-06-26T11:57:34.000Z","updated_ago":"almost 17 years","category":"global","subcategory":null,"weekly_installs":5,"total_installs":338,"rating":"none","isPremium":false,"screenshot":"https://userstyles.org/style_screenshot_thumbnails/18976_after.png?r=1781024534","license":null}