为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Bookmarklet not adding to bookmark bar!

  • 2 个回答
  • 0 人有此问题
  • 12 次查看
  • 最后回复者为 version365

more options

Hello, Since the last update Firefox 128.0.3, I can't add bookmarklet. There is one bookmarklet I regularly use on my main profile, wanted to add it to another profile, but it's not adding there. If I try to drag & add, it shows the new bookmark add dialogue, but nothing is getting added. If I try manual add bookmark from bookmark manager, still nothing happens. The bookmarklet is working fine in the main profile btw.. but can't add it to another. I looked in the browser console using Ctrl+Shift+J, it shows the following two messages repeatedly. `Places - Transactions: Failed to execute batched transaction: Error: Bookmarks.sys.mjs: insert: Invalid value for property 'url': "javascript:\"use strict\";function _array_like_to_array(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _array_with_holes(arr){if(Array.isArray(arr))return arr}function _array_without_holes(arr){if(Array.isArray(arr))return _array_like_to_array(arr)}function _assert_this_initialized(self){if(void 0===self)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return self}function _class_call_check(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError(\"Cannot call a class as a function\")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,\"value\"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,desc…` and </p> `Error: Bookmarks.sys.mjs: fetch: Invalid value for property 'url': "javascript:\"use strict\";function _array_like_to_array(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i

Hello, Since the last update Firefox 128.0.3, I can't add bookmarklet. There is one bookmarklet I regularly use on my main profile, wanted to add it to another profile, but it's not adding there. If I try to drag & add, it shows the new bookmark add dialogue, but nothing is getting added. If I try manual add bookmark from bookmark manager, still nothing happens. The bookmarklet is working fine in the main profile btw.. but can't add it to another. I looked in the browser console using Ctrl+Shift+J, it shows the following two messages repeatedly. `Places - Transactions: Failed to execute batched transaction: Error: Bookmarks.sys.mjs: insert: Invalid value for property 'url': "javascript:\"use strict\";function _array_like_to_array(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _array_with_holes(arr){if(Array.isArray(arr))return arr}function _array_without_holes(arr){if(Array.isArray(arr))return _array_like_to_array(arr)}function _assert_this_initialized(self){if(void 0===self)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return self}function _class_call_check(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError(\"Cannot call a class as a function\")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,\"value\"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,desc…` and `Error: Bookmarks.sys.mjs: fetch: Invalid value for property 'url': "javascript:\"use strict\";function _array_like_to_array(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _array_with_holes(arr){if(Array.isArray(arr))return arr}function _array_without_holes(arr){if(Array.isArray(arr))return _array_like_to_array(arr)}function _assert_this_initialized(self){if(void 0===self)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return self}function _class_call_check(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError(\"Cannot call a class as a function\")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,\"value\"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _create_class(… validateItemProperties resource://gre/modules/PlacesUtils.sys.mjs:783 validateBookmarkObject resource://gre/modules/Bookmarks.sys.mjs:3016 fetch resource://gre/modules/Bookmarks.sys.mjs:1561 bookmarkLink chrome://browser/content/browser-places.js:465 bookmarkLink chrome://browser/content/nsContextMenu.js:2426 oncommand chrome://browser/content/browser.xhtml:1`

所有回复 (2)

more options

looks like the 2nd error message got clipped, here it is..

Error: Bookmarks.sys.mjs: fetch: Invalid value for property 'url': "javascript:\"use strict\";function _array_like_to_array(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _array_with_holes(arr){if(Array.isArray(arr))return arr}function _array_without_holes(arr){if(Array.isArray(arr))return _array_like_to_array(arr)}function _assert_this_initialized(self){if(void 0===self)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return self}function _class_call_check(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError(\"Cannot call a class as a function\")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,\"value\"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _create_class(… </em> validateItemProperties resource://gre/modules/PlacesUtils.sys.mjs:783 validateBookmarkObject resource://gre/modules/Bookmarks.sys.mjs:3016 fetch resource://gre/modules/Bookmarks.sys.mjs:1561 bookmarkLink chrome://browser/content/browser-places.js:465 bookmarkLink chrome://browser/content/nsContextMenu.js:2426 oncommand chrome://browser/content/browser.xhtml:1

由version365于修改

有帮助吗?

more options

And for anyone wondering, I am trying to add this bookmarklet.. https://theus.github.io/instantgram/

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题