Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I accidentally visited gist.gihub.com (note the missing t), and now that URL auto completes each time I start typing gist.…. How can I remove this URL?

I've tried removing it from my history, but that doesn't help:

enter image description here

(note the empty search results)

share|improve this question
    
Did you remove all the history or just the last entry ? –  Ioan Paul Pirau Aug 26 '11 at 21:11
    
Sry, don't have Chrome, but have you tried pressing [del] while targeting/hovering that entry? –  ragnq Aug 26 '11 at 21:12
    
This question has been asked before, but heres the How to Answer[1]. [1]: superuser.com/questions/326531/… –  Keltari Aug 26 '11 at 21:13
    
Yup, Keltari’s right; removing URLs is the same as removing titles (like in the other question). However, see my addendum to make it easier if you visited a while ago. –  Synetech Aug 26 '11 at 21:19
2  
Well, this seems to be an issue. –  Chad Feller Aug 26 '11 at 22:30

4 Answers 4

up vote 100 down vote accepted

Highlight the item (using your keyboard arrows) and use shift+delete

(Note that on the Mac you seem to need to also press fn, so fn+shift+delete)

share|improve this answer
1  
This works. Although it should be mentioned that rather "for example your keyboard", you must use your keyboard. You cannot leave an item highlighted with your mouse, and leaving the mouse-button down will prevent Shift+Delete from deleting. –  Ian Boyd Mar 25 '12 at 13:48
1  
Didn't work for me on 10.7.4, chrome 19.0.1084.52 –  Heath Borders Jun 6 '12 at 13:25
    
+1 works for me on Lion 10.7.4 with Chrome 20.0.1132.47 –  opyate Jun 29 '12 at 14:25
1  
For, me my "delete" key didn't work, but my "Del" key did. –  Mark Stosberg Nov 6 '12 at 20:21
1  
Doesn't work for me. Chrome 27.0.1453.110. Macbook Pro, Snow Leopard. –  Steve Bennett Jun 12 '13 at 0:19

Low level answer, if you want to know the whole list:

This is stored in an sqlite3 database in Google Chrome's userprofile folder, on Linux it's located in

~/.config/google-chrome/Default/Top Sites

You can use SQLite3 to have a look at it:

me@local~/.config/google-chrome/Default$ cp Top\ Sites ts.sqlite
me@local~/.config/google-chrome/Default$ sqlite3 ts.sqlite ...
sqlite> .schema
...
CREATE TABLE thumbnails (url LONGVARCHAR PRIMARY KEY,url_rank INTEGER ,...
sqlite> select url_rank,url from thumbnails order by url_rank;
0|http://android.stackexchange.com/
...
21|http://archive.org/
23|https://android.googlesource.com/
24|http://meta.android.stackexchange.com/

To answer your question:
You can delete or edit an entry using regular SQL commands, but be sure that Chrome is not running, i.e. the file is not opened (by Chrome). Also note that I did all actions on a copy because of that (was only looking).

share|improve this answer
    
this would be a really great answer if you could fill in the missing parts currently hidden by "...". What is the delete statement? and ... why don't show tables or .tables work? –  Abe Jan 25 '13 at 19:50
1  
The "..." just just hide the standard login prompt from sqlite3, my Top Sites ranked 1-20 which I didn't want to disclose and parts of the schema that are not necessary for the answer. SQLite uses standard SQL statements, so just write the statement yourself if you're familiar with it. I didn't include that delete statement on purpose. Type .help to get help on SQLite usage or see the man page here: linux.die.net/man/1/sqlite3 –  ce4 Jan 25 '13 at 20:14
    
Sorry, I had two errors; first was misspelling the file extension .sqlite (so .schema returned nothing; so I thought that your create statement was a command to be issued ...) and then assuming that familiar mysql commands like show tables; must be standard. But now that I am over those hurdles I should be okay. –  Abe Jan 25 '13 at 23:06
    
so, after doing sqlite3 Top\ Sites; delete from thumbnnails where url = "http://www.example.com";, I still see the unwanted site. Also, for the record, the README says "Google Chrome settings and storage represent user-selected preferences and information and MUST not be extracted, overwritten or modified except through Google Chrome defined APIs.". In any case, thanks for getting me a chance to check out sqlite. –  Abe Jan 25 '13 at 23:18
    
:-) Yeah, "show tables" is not SQL really, it's a little different in sqlite, I also have to use .help each time I use it to get it right... –  ce4 Jan 25 '13 at 23:19

I have found several places that mention Fn+Shift+Del for a mac and Shift+Delete for windows. I have windows, and I have found that I often needed Fn+Shift+Delete.

share|improve this answer

I found a solution.

Highlight the item in the address bar drop-down box by pressing the left mouse button over it, but don't release the mouse button, continue holding it. Then press shift with your other hand, hold it, then take the hand with your mouse up and while keeping the button pressed , press the delete button with your little finger on the right hand.

share|improve this answer
1  
Tried, and failed. It deletes the autocompleted portion of the url, but leaves it in the auto-complete history. –  Ian Boyd Mar 25 '12 at 13:45
    
Doesn't work for me. –  Jakobud Jun 19 '13 at 21:06

protected by Community Aug 20 '13 at 20:53

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.