Bugs
: K-Meleon Web Browser Forum
You can talk about issues with k-meleon here.
Your IP address, domain or ISP has been blocked. Please contact the forum administrators.
Go to:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=Fred] I have made a macro to open Youtube videos from the site, where the video is, in a new window. Javascript is not necessary and must not be enabled. Therefore the browser user agent is not checked, and has no effect on allowing to view the video. You can simply go to the page with the video window, right-click onto the document (not on a link, but on the surface of the webpage), and select "Open Youtube from Site", to open the video. Open Notepad and copy and paste the following : # K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage) # ----------Youtube videos from video page without JS ---------------------------- # # Dependencies : main.kmm # Resources : - # Preferences : - # # ---------------------------------------------------------------------- Youtubevideo{ $_video_addres=""; $_video_addres=gsub("watch?","",$URL); $_video_addres=gsub("=","/",$_video_addres); opennew($_video_addres); } # ----- PRIVATE Youtubevideo_BuildMenu{ # Document Popup context menu $__m=_("Open Youtube from Site"); setmenu(DocumentOpenExternal,macro,$__m,Youtubevideo); } $OnInit=$OnInit."Youtubevideo_BuildMenu;"; # ----------------------------------------------------------------------- $macroModules=$macroModules."Youtubevideo;"; Save the notepad file as Youtubevideo.kmm , not as "Text" but as "All files" , the ending must be .kmm , not .kmm.txt . Put the macro into the folder "macros" inside the K-Meleon main folder and restart the browser. Fred[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
FAQ
English