Improvement requests
: K-Meleon Forum
Use this forum to talk about a feature you're missing. Use the bug tracker to report it if necessary.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=desga2] You can add it to prefs. [url=http://kmeleon.sourceforge.net/forum/read.php?1,90723,90846#msg-90846]Take a look to this extension[/url], it's similar to how work Flashblock extension whitelist, but you are meking a blacklist. :) Almost I think that Dorian implemented a new macro functions in 1.5.3 to read and write ini files. [url=http://kmeleon.cvs.sourceforge.net/viewvc/kmeleon/k-meleon/macros2/functions.h?revision=1.11&view=markup]You can look it in macro sources[/url]: At the end of file you can show a list of all macro functions; [code] 1444 MACROSFUNC_ADD(iniread); 1445 MACROSFUNC_ADD(iniwrite); [/code] In code are defined like: [code] 1376 Value iniread(FunctionData* data) 1377 { 1378 checkArgs(__FUNCTION__, data, 4); 1379 std::string buffer; 1380 ::GetPrivateProfileStringUTF8(data->getstr(1), data->getstr(2), data->getstr(3), buffer, data->getstr(4)); 1381 return buffer; 1382 } 1383 1384 Value iniwrite(FunctionData* data) 1385 { 1386 checkArgs(__FUNCTION__, data, 4); 1387 return ::WritePrivateProfileStringUTF8(data->getstr(1), data->getstr(2), data->getstr(3), data->getstr(4)); 1388 } [/code] But is dificult know how work it (parameters needed and optional) without documentation about. I only know that both use 4 parameters string type. This could be: $VAR = iniread ("file_path", "Group", "Item", "Default value if not exist?"); iniwrite ("file_path", "Group", "Item", "Value"); But I'm not sure about order in parameters. Also is possible that functions aren't fully implemented yet (functions incomplete or not work fine yet).[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development