WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Site help, bugs, suggestions/questions (https://www.wowinterface.com/forums/forumdisplay.php?f=18)
-   -   Insert Link popup shouldn't include http prefix (https://www.wowinterface.com/forums/showthread.php?t=54863)

Phanx 11-28-16 04:03 AM

Insert Link popup shouldn't include http prefix
 
When clicking the "Insert Link" button on the post formatting toolbar, the JavaScript popup that asks for the link URL is pre-populated with "http://" --- but since that text is not pre-selected, it's not overwritten when pasting a URL into the input box. If one isn't paying attention and doesn't manually delete the prefix, the post ends up with a link to "http: // http: // example.com" (spaces added to prevent forum auto-formatting) that doesn't work when clicked.

To solve this, the input popup should not pre-populate with "http://" or any other prefix. If the user enters a URL without a protocol (eg. just "example.com") then one can be added for them in the inserted BBCode after the popup input is submitted.

Dolby 11-28-16 11:45 AM

I agree that would be annoying. What browser/os are you using? The http is preselected for me on Chrome osx & win10. Wondering if there is some weird js stuff going on with another browser maybe?


Phanx 11-29-16 09:25 AM

I'm currently using Vivaldi on Linux Mint (basically Ubuntu). I don't know off the top of my head whether it's pre-selected in Firefox or Opera, the other two browsers installed on my computer, as I usually just type the BBCode. I was only using the buttons the other day because I was eating while posting. :p

myrroddin 11-29-16 04:47 PM

The other issue with having the default of "http://" is that it could mess up a secure link, such as Curse is using these days. Or you are linking your PayPal. These use "https://".

Seerah 12-04-16 06:59 PM

If you have a link that specific, I would think, then you would most likely be pasting it in - no?

It is pre-selected for me as well, in Chrome on Windows 10.


All times are GMT -6. The time now is 10:04 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI