Bookmarklet not adding to bookmark bar!
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
Все ответы (2)
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
Изменено
And for anyone wondering, I am trying to add this bookmarklet.. https://theus.github.io/instantgram/