https://bugs.kde.org/show_bug.cgi?id=468046
Bug ID: 468046 Summary: GM.getValue / GM.setValue don't work as expected Classification: Applications Product: Falkon Version: 22.12.3 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: extensions Assignee: now...@gmail.com Reporter: sjeh...@yandex.com Target Milestone: --- GM.getValue / GM.setValue don't work as expected Tested against the following example from https://wiki.greasespot.net/GM.getValue#Examples // ==UserScript== // @name Greasemonkey set-and-get Example // @description Stores and logs a counter of executions. // @grant GM.setValue // @grant GM.getValue // ==/UserScript== (async () => { let count_before = await GM.getValue('count', 0); // Note awaiting the set -- required so the next get sees this set. await GM.setValue('count', count_before + 1); // Get the value again, just to demonstrate order-of-operations. let count_after = await GM.getValue('count'); console.log('Greasemonkey set-and-get Example has run', count_after, 'times'); })(); I need this feature to fix enable (true / false) value for this program https://openuserjs.org/scripts/sjehuda/Dimmer -- You are receiving this mail because: You are watching all bug changes.