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'm developing a mobile site. For reference, I'm using a Google Chrome window about 320px wide.

I'd like to view the URL without having to widen the window. Yes, there are three extensions showing in my screenshot, but even removing those will not show me enough URL info.

I was thinking of a small info bar I could install as an extension, but that doesn't exist. Maybe there's another way? I'd like it to be a solution that works with all websites, not just a bit of text in the sites I'm making.

Thin Google Chrome window with URL barely visible

share|improve this question
1  
Will it be okay if solution involves something outside of Chrome (a third party utility)? –  Lamb May 29 '13 at 6:00
    
Is there something wrong with right-click | View page info ? –  Al E. May 29 '13 at 13:05
    
View page info doesn't show the fulll URL e.g. superuser.com/questions/601125/… .. as for 3rd party, depends on the solution. I had been looking for a Chrome plugin before, which I consider to be 3rd party. –  Mark Hewitt May 29 '13 at 21:33

1 Answer 1

up vote 1 down vote accepted

One way you can achieve this is using AutoHotkey, I have created a script which Shows a small overlay having the URL of the currently open Chrome tab.

Showing the Overlay

#SingleInstance force
SetTitleMatchMode, slow

;Overlay Creation

Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ; +ToolWindow avoids a taskbar button and an alt-tab menu item.
Gui, Color , F1F1F1
Gui, Font, s12  ; Set a large font size (32-point).
Gui, Add, Text, w1336 vMyText
SetTimer, UpdateOSD, 500
Gosub, UpdateOSD  ; Make the first update immediate rather than waiting for the timer.
Gui, Show, x0 y650 AutoSize NoActivate  ; NoActivate avoids deactivating the currently active window.
return

UpdateOSD:
WinGetText, text, A
FoundPos := RegExMatch(text, "\n(.*)", SubPat)
GuiControl,, MyText, URL: %SubPat1%
return

To get it running all you need to do is - Install AutoHotkey, then save above script with .ahk extension and run it. (or you can create exe from that script for portability)
This script can be modified according to particular needs (font, color, location on screen etc.).

share|improve this answer
    
Bravo. A creative solution. I just started using AutoHotKey again the other day, so to have a script that does what I want and I can hack myself is excellent. Thank you! –  Mark Hewitt Jun 1 '13 at 2:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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