Extensions
: K-Meleon Forum
All about K-Meleon extensions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=siria] Uh oh... weird... Must admit I haven't tried the new macro myself yet, but it's always very difficult to figure out things if everything works fine on the own system. Uhm, sorry can't resist, have no idea what could be the prob, just a little suggestion for mhf, if you like and have time? :) Just for circling the bug a bit - the code below is a copy of the submacro which is executed when closing a tab, except that it has 9 [b]numbered alert boxes inserted[/b], one after each step it does, to easier figure out which of the steps could cause your problem... ----- _PriorTabs_CreateList[b][color=red]_TEST[/color][/b] { [color=green]alert("","priortest-0");[/color] &_PriorTabs_CheckForLength ; [color=green]alert("","priortest-1");[/color] &_PriorTabs_CheckListForDup ; [color=green]alert("","priortest-2");[/color] $_PriorTabs_CurrType < 2 ? $_PriorTabs_Count = $_PriorTabs_Count + 1 : 0 ; if ($_PriorTabs_WasDup == 0) { [color=green]alert("","priortest-3");[/color] $_PriorTabs_CurrType == 0 ? iniwrite("List", $_PriorTabs_Count, $TITLE . "~~" . $URL, $_PriorTabs_Path) :0; [color=green]alert("","priortest-4");[/color] $_PriorTabs_CurrType == 1 ? iniwrite("List", $_PriorTabs_Count, "~~" . $URL, $_PriorTabs_Path) :0; [color=green]alert("","priortest-5");[/color] $_PriorTabs_CurrType == 2 ? alert(_("URL length exceeds storage"). "\n" ._("Unable to store tab"), _("PriorTabs"), EXCLAIM) :0; } [color=green]alert("","priortest-6");[/color] if ($_PriorTabs_WasDup == 1) { [color=green]alert("","priortest-7");[/color] &_PriorTabs_ClearListMenu; } [color=green]alert("","priortest-8");[/color] &_PriorTabs_BuildListMenu ; $_PriorTabs_WasDup = 0 ; } --------- If in this line near the end: [color=blue]#--------------------------------------------- $OnCloseTab=$OnCloseTab."_PriorTabs_CreateList;";[/color] you just insert a "_TEST": [color=blue]$OnCloseTab=$OnCloseTab."_PriorTabs_CreateList[/color][b][color=red]_TEST[/color][/b];"; and add the code block from above at the end of the file, it will flood you with numbered alert boxes for every closed tab :cool:[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development