Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

When I hover over a link, Firefox adds the website in front of my link making it wrong.

  • 1 resposta
  • 2 têm este problema
  • 4 visualizações
  • Última resposta por cor-el

more options

I was checking compatibility of my website. So I opened http://www.sethermal.com. It looked fine until I hovered over a link. Firefox added the website and broke the link.

Example. I entered www.sethermal.com into the address bar. The site came up fine. I hover over "Site Map" link on my page. Link is http://www.sethermal.com/pages/site-map.html Before clicking the link I looked at the bottom and Firefox shows www.sethermal.com/\\www.sethermal.com\pages\site-map.html When I click the link obviously I get 404 Page Not Found

Why is this happening?

I was checking compatibility of my website. So I opened http://www.sethermal.com. It looked fine until I hovered over a link. Firefox added the website and broke the link. Example. I entered www.sethermal.com into the address bar. The site came up fine. I hover over "Site Map" link on my page. Link is http://www.sethermal.com/pages/site-map.html Before clicking the link I looked at the bottom and Firefox shows www.sethermal.com/\\www.sethermal.com\pages\site-map.html When I click the link obviously I get 404 Page Not Found Why is this happening?

Solução escolhida

Those links have a backslash instead of a forward slash. Firefox is not so forgiving as other browsers and treats a backslash as a valid character and thus prefixes the links with the URL of the page.

[1] <a href="http:\\www.sethermal.com\index.html">
[2] <a href="http:\\www.sethermal.com\pages\service.html">
[3] <a href="http:\\www.sethermal.com\pages\about-us.html">
[4] <a href="http:\\www.sethermal.com\pages\contact-us.html">
[5] <a href="http:\\www.sethermal.com\pages\site-map.html">
[6] <a href="http:\\www.sethermal.com\pages\products\Application\application.html">
[7] <a href="http:\\www.sethermal.com\pages\products\IndustrialHeaters\industrial-heaters.html">
[8] <a href="http:\\www.sethermal.com\pages\products\ComponentHeaters\component-heaters.html">
[9] <a href="http:\\www.sethermal.com\pages\products\ProcessControls\process-controls.html">
[10] <a href="http:\\www.sethermal.com\pages\products\PackagedProducts\packaged-products.html">
[11] <a href="http:\\www.sethermal.com\pages\products\HeatExchangers\heat-exchangers.html">
[12] <a href="http:\\www.sethermal.com\pages\products\ColdWeatherProducts\cold-weather-products.html">
[13] <a href="http:\\www.sethermal.com\pages\products\Sensors\sensors.html">
[14] <a href="http:\\www.sethermal.com\pages\resources\engineering-data.html">
[15] <a href="http:\\www.sethermal.com\pages\resources\industry-application.html">
[16] <a href="http:\\www.sethermal.com\pages\stsnews\sts-news.html">
[17] <a href="http:\\www.sethermal.com\pages\stsnews\hot-products.html">
Ler esta resposta no contexto 👍 1

Todas as respostas (1)

more options

Solução escolhida

Those links have a backslash instead of a forward slash. Firefox is not so forgiving as other browsers and treats a backslash as a valid character and thus prefixes the links with the URL of the page.

[1] <a href="http:\\www.sethermal.com\index.html">
[2] <a href="http:\\www.sethermal.com\pages\service.html">
[3] <a href="http:\\www.sethermal.com\pages\about-us.html">
[4] <a href="http:\\www.sethermal.com\pages\contact-us.html">
[5] <a href="http:\\www.sethermal.com\pages\site-map.html">
[6] <a href="http:\\www.sethermal.com\pages\products\Application\application.html">
[7] <a href="http:\\www.sethermal.com\pages\products\IndustrialHeaters\industrial-heaters.html">
[8] <a href="http:\\www.sethermal.com\pages\products\ComponentHeaters\component-heaters.html">
[9] <a href="http:\\www.sethermal.com\pages\products\ProcessControls\process-controls.html">
[10] <a href="http:\\www.sethermal.com\pages\products\PackagedProducts\packaged-products.html">
[11] <a href="http:\\www.sethermal.com\pages\products\HeatExchangers\heat-exchangers.html">
[12] <a href="http:\\www.sethermal.com\pages\products\ColdWeatherProducts\cold-weather-products.html">
[13] <a href="http:\\www.sethermal.com\pages\products\Sensors\sensors.html">
[14] <a href="http:\\www.sethermal.com\pages\resources\engineering-data.html">
[15] <a href="http:\\www.sethermal.com\pages\resources\industry-application.html">
[16] <a href="http:\\www.sethermal.com\pages\stsnews\sts-news.html">
[17] <a href="http:\\www.sethermal.com\pages\stsnews\hot-products.html">

Modificado por cor-el a