Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

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

  • 1 відповідь
  • 2 мають цю проблему
  • 1 перегляд
  • Остання відповідь від 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?

Обране рішення

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">
Читати цю відповідь у контексті 👍 1

Усі відповіді (1)

more options

Вибране рішення

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">

Змінено cor-el