KMeleonWiki > Resources > MacroLibrary > Source Code in PopUp

Submitted by: Mirek Koárek - mirekkomarek»kralovskydvur

Notes: I have done it just for day before yesterday downloaded vers 7 , but I am not sure how to persued it to works in frames . It shows just source code of frameset if site are in . In no frames sites it works well. Mirek

In Macros:

source_popup {
menu="View source code in new window";
open(" javascript:(function(){var windowprops = 'location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes,height=420,width=460';var sourcewin = window.open('','source',windowprops);sourcewin.document.open();sourcewin.location.href = 'view-source:'+ parent.document.location.href;sourcewin.document.close();})(); ");

In Menus:


User Comments:


(c) 2000-2010 kmeleonbrowser.org. All rights reserved.
design by splif.