K-Meleon
KMeleonWiki > Resources > MacroLibrary > MacroLibrary2 > View link's URL
Submitted by: boogomatic
view_address { menu = "View Link's &URL"; $ladr = $LinkURL; $ladr = prompt("This is the URL of the current link. Do you want to go to this site?", "THE URL OF CURRENT LINK", $ladr); $ladr == "" ? "" : pluginmsg(layers,"OpenURL", $ladr); }
(LinkPopup, ImageLinkPopup, FrameLinkPopup, FrameImageLinkPopup)
LinkPopup { Open in &New Window = ID_OPEN_LINK_IN_NEW_WINDOW Open in Back&ground = ID_OPEN_LINK_IN_BACKGROUND - %ifplugin layers layers(OpenLink, Open in New Layer) layers(OpenLinkBg, Open in Background Layer) - %endif @entrypoint &Back = ID_NAV_BACK &Forward = ID_NAV_FORWARD &Reload = ID_NAV_RELOAD &Stop = ID_NAV_STOP - Save &Link As... = ID_SAVE_LINK_AS &Copy URL = ID_COPY_LINK_LOCATION - macros(view_address) Select &All = ID_EDIT_SELECT_ALL &Copy Text = ID_EDIT_COPY - View So&urce = ID_VIEW_SOURCE Save &Page As... = ID_FILE_SAVE_AS bmpmenu() }