Development
: K-Meleon Forum
K-Meleon development related discussions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=mark307] This is lua macro. Is this right? -- CODE [code]function RewindPage() local titles, urls, index = km.GetMozillaSessionHistory() if not titles then return end titles = nil local host = string.match(urls[index], "[^/:]+://([^/]+).*") local i = index while i > 1 do i = i - 1 if string.match(urls[i], "[^/:]+://([^/]+).*") ~= host then i = i + 1; break end end if i < index then km.GotoHistoryIndex(i - 1) end end[/code] -- CODE -- toolbars.cfg [code]%ifplugin luamacro Rewind{ luamacro(RewindPage) Go back one page mainbarhot.bmp[0] mainbarcold.bmp[0] mainbardead.bmp[0] } %endif[/code] -- toolbars.cfg thanks.[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development