Closed Bug 299105 Opened 20 years ago Closed 16 years ago

auto complete location bar disabled (by userChrome.css). location bar does not accept new URL of the same domain

Categories

(Firefox :: Address Bar, defect)

1.0 Branch
PowerPC
macOS
defect
Not set
major

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: carboncopy.public, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.8) Gecko/20050529 Firefox/1.0.4 (PowerBook)
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.8) Gecko/20050529 Firefox/1.0.4 (PowerBook)

The URL http://www.huaren.org/diaspora/asia/malaysia/racehis.html was access
using link from google.com.
Typing http://www.huaren.org, deleting partially the address (e.g.
http://www.huaren.org/diaspora/) and entered will cause Firefox to go back to
the original page of the domain which I first access.
(http://www.huaren.org/diaspora/asia/malaysia/racehis.html)

Reproducible for ALL DOMAIN.



Reproducible: Always

Steps to Reproduce:
1. Diable auto complete for Location bar. Steps according to
http://kb.mozillazine.org/Firefox_:_Tips_:_Disable_Location_bar_autocomplete
2.Browse to any location for example
http://www.huaren.org/diaspora/asia/malaysia/racehis.html
2.Clear location bar or open a new tab.
3.Enter location http://www.huaren.org or huaren.org
4.

Actual Results:  
It browse to last entered location of the same domain.



Expected Results:  
It should browse to the location entered and not to the previous location of the
domain.

Extension installed:
1. Adblock Plus 0.5.7
2. Tab X 0.9.1
3. Tab Browser Preferences 1.2.7.1
4. DictionarySearch 0.9.2

userChrome.css
/* Remove autocomplete dropdown */
#PopupAutoComplete > .autocomplete-tree { display: none !important; }
.autocomplete-history-dropmarker { display: none !important; }

userContent.css
/* Stop those <marquee> tags! */
marquee {
   -moz-binding                  : none !important;
   display                       : block;
   height                        : auto !important;
}

user.js
// Adblock configuration
user_pref("adblock.enabled", true);
user_pref("adblock.fastcollapse", false);
user_pref("adblock.frameobjects", true);
user_pref("adblock.hide", false);
user_pref("adblock.linkcheck", false);
user_pref("adblock.pageblock", false);
user_pref("adblock.patterns", "*/advertisers/*
http://thestar.com.my/images/ann.gif */ads*.js http://ar.atwola.com/* *iklan*
http://www.nst.com.my/Misc/Images/Tourism/* */ads/* *doubleclick*
http://ffxcam.smh.com.au/html.ng/* *adtech*
http://www.politiken.dk/grafik/reklame/* *.adform.net/* *adserver*
http://*.tribalfusion.com/* */ads?* */ad/* *announce* *banners*
http://i.a.cnn.net/cnn/.element/img/1.1/ceiling/make.homepage.gif
http://i.a.cnn.net/cnn/.element/img/1.1/sect/SEARCH/*
http://i.cnn.net/cnn/.element/img/1.1/main/novell.gif
http://i.cnn.net/cnn/.element/img/1.1/misc/cb/*
http://i.a.cnn.net/cnn/.element/img/1.1/misc/cl/*
http://i.a.cnn.net/cnn/.element/img/1.1/searchbar/* http://victory.cnn.com/*,js
http://accipiter.speedera.net/* http://*.serving-sys.com/*
http://www.gentoo.org/images/*ad.png *advertising* *adsdk* *linksynergy* */adz/*
http://marketing.vistaprint.net* *sitemeter* *webcounter* *cqcounter* *bravenet*
*statcounter* *nedstatbasic* http://www2.3wisp.com/ban/*
http://www.fke.utm.my/images/* *.esmartweb.com/* *adframe.htm *.fastclick.net/*
*.bluestreak.com/* http://spinbox.*
http://image.versiontracker.com/stuff/4dtext.gif
http://free.grisoft.com/banner/* http://pagead2.googlesyndication.com/*
http://demiurge.arstechnica.com/phpAdsNew/* http://g-images.amazon.com/*
http://203.115.194.54/ams/* http://rcm.amazon.com/*
http://rcm-images.amazon.com/* http://www.pockettv.com/images/*
http://www.qksrv.net/* http://www.barnesandnoble.com/newsletters/*
http://*.techtracker.com/* *.inetinteractive.com/* http://*imdb.com/google/*
http://www.msn.com.my/* http://static.exaccess.ru/asp/banner.asp*
http://*.valueclick.com/* http://online.265.com/* http://*.falkag.net/*
*/sponsors/* */_ads/* */classified/*
http://i.a.cnn.net/cnn/.element/img/1.1/misc/cb/*
http://f1.racing-live.com/img/pub/* *.adbrite.com/*
http://*.inspectorclick.com/* *.blogads.com/* http://secure.richdad.com/*
http://www.digi.com.my/image/*Promo* http://www.digi.com.my/image/banner* *.ad.*
http://promote.pair.com/* *.yimg.com/* *Advertisement*
http://www.lta.gov.sg/images/banner_*.jpg
http://i.cnn.net/cnn/.element/img/1.1/searchbar/*
http://linuxdevices.com/files/banner_imgs/* */sponsor_imgs/*
http://www.redlightrunner.com/* */advertisements.gif
http://www.streetdirectory.com.sg/imagesV2/Button_*.gif
http://www.streetdirectory.com.sg/imagesV2/Logo_* http://*.buzzcity.com/*
http://www.devx.com/* http://images.dentalplans.com/*
http://www.visitormalaysia.com/hills/images/banner* http://logos.servint.net/*
http://clickserve.cc-dt.com/* http://pops.freeze.com/*
http://ostg.com/images/spacer.gif http://*.webtrendslive.com/* */webadImg/*
http://www.sciam.com/includes/js/ad_*.cfm?* http://www.sciam.com/media/promo/*
http://*.roiservice.com/* */advertisement/* http://banner.kiev.ua/* *.buy.com/*
http://www.tm.net.my/* http://www.telekom.com.my/* */adframe.php?*
http://images.dshield.org/images/* http://all-nettools.com/pAn/bimg/*
http://www.streetdirectory.com.sg/banner/*
http://www.streetdirectory.com.sg/kl/images/*
http://distrowatch.com/images/kokoku/* http://*.kanoodle.com/*
http://www.arubanetworks.com/flash/* *.atdmt.com* http://ads.*
http://metrics.apple.com/* http://ad.* */travelot/*
http://www.star-techcentral.com/includes/jss/comm.js
http://i.a.cnn.net/cnn/1.gif http://cnn.dyn.cnn.com/*
http://images-aud.slashdot.org/* http://images-aud.* *.hotlog.ru*
*.nedstat.net/* *.com.com/* */advert/* *adlog.* http://a1040.g.akamai.net/*
*.scripps.com/* *.sageanalyst.net/* *adsremote.* *_ad.* http://log.*
http://*disney.*/stat/* *questionmarket.com* *.zedo.com* *mediaplex.com*
*.fastclick.com* *bluestreak.com* *.netratings.com* *counter* *.atlasdmt.com*
*.digitalacre.com* */adtag.gif *.ziffdavisinternet.com* */phpads/* *adimage*
*.liveperson.net* *iad.* *did-it.com* http://stats.* *klsoft.com*
*.extreme-dm.com/* http://www.jaring.my/banner/* http://surveys.cnet.com/*
*.bfast.com* http://www.walmart.com/a/lks/* */stats.js */popup.js */adpeeps/*
*/linkshare/* *.imrworldwide.com* *.cneteu.net* http://*.nextwave.com.au/*
*.eyereturn.com* */bannerad/* */ads* */*promo* */*extAd* *.overture.com*
*.googleadservices.com/* */pagead/* http://images.amazon.com/*
*.prognosisx.com/* http://banner.* http://hosted.ap.org* *.casalemedia.com*
*.jaring.my/*.gif */commercial/* http://cache.directorym.com/*
http://www.utarget.co.uk/scriptinject.aspx?h=88&nocache=1109228504068
*.cmpnet.com* *.pro-market.net* *.2o7.net/* */shopping* *scriptinject.as*");
// ad block config end
//
//* Speed Tweak - Common to all Configurations */
user_pref("network.http.pipelining", true);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 15);
user_pref("content.notify.backoffcount", 5);
user_pref("plugin.expose_full_path", true);
user_pref("ui.submenuDelay", 0);
//
//* Speed Tweak - Fast Computer Fast Connection */
user_pref("content.interrupt.parsing", true);
user_pref("content.max.tokenizing.time", 2250000);
user_pref("content.notify.interval", 750000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 750000);
user_pref("nglayout.initialpaint.delay", 0);
user_pref("network.http.max-connections", 100);
user_pref("network.http.max-connections-per-server", 30);
user_pref("network.http.max-persistent-connections-per-proxy", 30);
user_pref("network.http.max-persistent-connections-per-server", 16);
user_pref("browser.cache.memory.capacity", 32768);
//
// Block new windows from opening up.
// Default: false (Allow popups)
user_pref("browser.block.target_new_window", true);
// 
// Disable IDN
user_pref("network.enableIDN", false);
//
// Dictionary Search config
//
user_pref("dictionarysearch.accesskey1", "W");
user_pref("dictionarysearch.accesskey2", "D");
user_pref("dictionarysearch.accesskey3", "T");
user_pref("dictionarysearch.accesskey4", "S");
user_pref("dictionarysearch.menutext1", "Lookup Webster for \"$\"");
user_pref("dictionarysearch.menutext2", "Lookup Dictionary for \"$\"");
user_pref("dictionarysearch.menutext3", "Lookup Thesaurus for \"$\"");
user_pref("dictionarysearch.menutext4", "Search Wikipedia for \"$\"");
user_pref("dictionarysearch.url1",
"http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=$&x=0&y=0");
user_pref("dictionarysearch.url2", "http://www.thefreedictionary.com/$");
user_pref("dictionarysearch.url3",
"http://www.m-w.com/cgi-bin/thesaurus?book=Thesaurus&va=$&x=0&y=0");
user_pref("dictionarysearch.url4", "http://en.wikipedia.org/wiki/$");
// Put an end to blinking text!
user_pref("browser.blink_allowed", false);
// Find As You Type Configuration:
// Set this pref to false to disable Find As You Type:
user_pref("accessibility.typeaheadfind", false);
// More DOM/JavaScript options
// Make sure all pop-up windows are resizable:
user_pref("dom.disable_window_open_feature.resizable", true);
// Make sure all pop-up windows are minimizable:
user_pref("dom.disable_window_open_feature.minimizable", true);
// Always display the menu in pop-up windows:
user_pref("dom.disable_window_open_feature.menubar", true);
// Always display the Navigation Toolbar in pop-up windows:
user_pref("dom.disable_window_open_feature.location", true);
// Prevent sites from disabling scrollbars:
user_pref("dom.disable_window_open_feature.scrollbars", true);
// Instead of annoying error dialog messages, display pages:
user_pref("browser.xul.error_pages.enabled", true);
Summary: location bar autocomplete is off (using userChrome.css). Old URL of the same domain will overwrite the new URL of the same domain. → auto complete location bar disabled (by userChrome.css). location bar does not accept new URL of the same domain
Tested on Linux (Slackware). It is not reproducible in Linux.
I think carboncopy is gone
Version: unspecified → 1.0 Branch
As the article on Mozillazine describes this modification can cause several malfunctions:

"The method below has some problems. It will cause some errors appear in the JavaScript Console if you have  chrome errors enabled, and in some circumstances it may cause the browser to malfunction."

What should we do? Adding some people who hopefully can give an answer.
Firefox 3.1 has a new preference:
browser.urlbar.search.sources

Setting it to 0 will disable autocomplete.
WORKSFORME with the new (and clean) way of disabling autocomplete in comment 4
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Verified with Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3pre) Gecko/20090108 Shiretoko/3.1b3pre
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.