We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(New issue created from comment in #1595 as requested by arantius)
I am getting the same exposedProps error when attempting to iterate over the array returned by GM_listValues().
The following simple script shows the issue:
// ==UserScript== // @name Demonstrate __exposedProps__ warning // @namespace personal // @include SITE_URL // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js // @grant GM_listValues // @version 1 // ==/UserScript== var gmValues = GM_listValues(); gmValues.forEach(function(val, index){ console.log(val); });
The console shows:
Exposing chrome JS objects to content without exposedProps is insecure and deprecated. See https://developer.mozilla.org/en/XPConnect_wrappers for more information. draftKeys.forEach(function(val, index){
Exposing chrome JS objects to content without exposedProps is insecure and deprecated. See https://developer.mozilla.org/en/XPConnect_wrappers for more information.
draftKeys.forEach(function(val, index){
Additional Details: OSX 10.8.1, Firefox 15.0.1, GreaseMonkey 1.1
Thanks
The text was updated successfully, but these errors were encountered:
Confirmed. Accessing the length property works without logging this, but setting it exposed makes forEach stop logging.
length
forEach
Sorry, something went wrong.
b03ac3b
No branches or pull requests
(New issue created from comment in #1595 as requested by arantius)
I am getting the same exposedProps error when attempting to iterate over the array returned by GM_listValues().
The following simple script shows the issue:
The console shows:
Additional Details: OSX 10.8.1, Firefox 15.0.1, GreaseMonkey 1.1
Thanks
The text was updated successfully, but these errors were encountered: