I have seen here several discussions about how to detect, whether a web page already has finished loading. I might have figured out an easy implementable and reliable way to solve the problem - at least in some of the use cases. The implementation would, however, unfortunately require a bit coding work by the KM staff...
When using my own eyes, I usually detect whether the loading is complete - or at least complete enough to allow the next action to be taken - when a certain screen area is not empty any more. At least in my case the problem is, however, that the reply I am waiting for is often quite unpredictable and hence waiting for some specific criteria in the DOM model or CSS really isn't a feasible solution. And if iFrames have been used, that approach gets complicated.
What is actually needed, would just be a "wildcard" in the "Found image" criteria to be able to check whether there is "anything" or "nothing" in a certain screen area.
The definition of "nothing" would here simply be that all pixels in that certain screen area have a uniform colour. Any colour. Just all of them being equal.
This could probably be quite easily an elegantly added into the "Found image" feature by defaulting it to "nothing" if no picture has been set to search for. As said; "nothing" being here defined as all pixels having a uniform colour (in a certain screen area). The "fuzziness" slider could perhaps also be disabled when no image has been uploaded.
(for V.2 of this feature: If the uniform colour in the empty area should have some specific value, a small picture with that uniform colour could be used as the search criteria.)
How do you like this idea? Does it deserve to be to be set to (close to) the top of Peter's backlog? ![]()
Related to this idea - but independent from it - I also have two small UI-suggestions:
1.) "Found image" UI:
Problem: When the images which are used as search criteria contain a lot of gray, it is difficult to see wheter a picture actually already has been added or not.
Suggestion: The emptiness of the image field could be explicitly clarified by defaulting the empty image field to show a thin, red St. Andrew's cross (
). This would also support signalling the above mentioned "nothing" image value.
2.) "Area" values UI:
Problem: The currently selected "area" pixel values cannot be visually shown on the screen but can only be overwritten with the "get" button
Suggestion: As long as any of the four value fields is activated for entering values, a light blue rectangle could indicate the selected area. This would also make it much easier to make pixel-precise adjustments to the selected area using the arrow keys.
P.S. I just joined and this is my first post here. Please do tell me if I messed up somehow and could have done something better.


