| Index: lib/typoFixer.js |
| =================================================================== |
| --- a/lib/typoFixer.js |
| +++ b/lib/typoFixer.js |
| @@ -178,20 +178,16 @@ function correctURL(window, value) |
| // Ignore search keywords and such |
| if ("getShortcutOrURI" in window && window.getShortcutOrURI(value) != value) |
| return null; |
| // Spaces before the first slash or period is probably a quick search |
| if (/^[^\/\.\s]+\s/.test(value)) |
| return null; |
| - // Check manually entered corrections |
| - if (Prefs.custom_replace.hasOwnProperty(value) && Prefs.custom_replace[value]) |
| - return Prefs.custom_replace[value]; |
|
Thomas Greiner
2012/10/02 10:31:14
Feel free to modify it but don't remove this code.
|
| - |
| let [prefix, domain, suffix] = parseURL(value); |
| if (!domain) |
| return null; |
| let oldDomain = domain; |
| if (!isIPAddress(domain)) |
| { |
| processTypedDomain(domain); |