skip to Main Content

Css – flex-row and justify-items-center class have no effect on Firefox but works on Chrome

function App() { return ( <div className = "flex-row justify-items-center" > <h1> MINIMAL LOL </h1> </div > ); } ReactDOM.render( < App / > , document.getElementById('root')); <script src="https://cdnjs.cloudflare.com/ajax/libs/react/18.3.1/umd/react.production.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/18.3.1/umd/react-dom.production.min.js"></script> <script src="https://cdn.tailwindcss.com"></script> <div id="root"></div> This works as intended on Chrome:…

VIEW QUESTION

Css – backdrop-filter not working in Firefox 131

I have updated Firefox to the latest version (131.0.3). Though the property is supported in FF 103+, on https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter I'm seeing: Both layout.css.backdrop-filter.enabled and layout.css.backdrop-filter.force-enabled are set to true. What can be wrong with the settings?

VIEW QUESTION

Javascript – can a js URL object be a long number?

new URL(`http://12345678901`) is not valid but new URL(`http://1234567890`) and new URL(`http://a12345678901`) are. these work: console.log(new URL(`http://1234567890`)) console.log(new URL(`http://a12345678901`)) This does not: console.log(new URL(`http://12345678901`)) Here's the error in chrome: VM2064:1 Uncaught TypeError: Failed to construct 'URL': Invalid URL at :1:1 (anonymous)…

VIEW QUESTION

Javascript – First Firefox extension test not going well

I am writing a first test of a firefox extension. I am using the following websites as assistance: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Your_first_WebExtension https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Context_menu_items https://github.com/mdn/webextensions-examples/blob/main/menu-demo/background.js Here is my code: mainfest.json { "manifest_version":2, "version":"1.0", "name":"Test", "content_scripts":[ { "matches":["<all_urls>"], "js":["main.js"] } ], "permissions":["contextMenus"] } main.js alert("test");…

VIEW QUESTION
Back To Top
Search