為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Bookmarklet not adding to bookmark bar!

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/

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題