We can not address sub frame scripts at the time and the hinting script
is able to process also frames, when this is allowed according to the
same origin policy. So there is no need to inject the script into
multiple frames.
/* Inject the global hints script. */
script = webkit_user_script_new(HINTS,
- WEBKIT_USER_CONTENT_INJECT_ALL_FRAMES,
+ WEBKIT_USER_CONTENT_INJECT_TOP_FRAME,
WEBKIT_USER_SCRIPT_INJECT_AT_DOCUMENT_END, NULL, NULL);
webkit_user_content_manager_add_script(ucm, script);
webkit_user_script_unref(script);