Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
297 views

sourceURL for CSS

Is debugging sourceURL possible for CSS in Firefox? The solutions listed in the following do not appear to work: //@ sourceURL equivalent for CSS Is there something like source maps for CSS? MDN in ...
erosman's user avatar
  • 7,671
4 votes
1 answer
834 views

Can browser extensions overwrite CSS media features/query?

Can Chrome/ium or Firefox browser extensions (also called add-ons/WebExtensions) actually somehow overwrite the result of a media query? I mean, for JS window.match​Media() this is likely easy: Just ...
rugk's user avatar
  • 5,465
0 votes
1 answer
154 views

Detach panel like Font Face Ninja or CSS Peeper in a Chrome Extension?

I want to have a detached panel like Font Face Ninja or CSS Peeper for a Chrome Extension. Tried googling but don't know what that thing is called. Here are there screenshots. Font Face Ninja CSS ...
deadcoder0904's user avatar
0 votes
1 answer
298 views

Highlighting elements by adding a border and changing ancestor's display style changes the page layout

I am developing a Firefox add-on. I need to highlight elements in a webpage using the element's XPath. I am able to highlight it. The problem is the elements are appearing in a distorted way. They ...
Narayana Bojja's user avatar
3 votes
1 answer
2k views

Disable drag for any object in firefox addon popup

I am developping an extension on Chrome / Firefox which has a popup composed of different graphic elements. I don't want user to drag and drop these items from this popup. To disable drag in Chrome, I ...
Nucktrooper's user avatar
0 votes
2 answers
1k views

How to use @font-face on a Firefox WebExtension

I'm trying to port a Chrome extension Firefox add-on using the WebExtensions API . In chrome extension I am using src: url('chrome-extension://__MSG_@@extension_id__/css/fonts/webFonts/font-awesome/...
Shweta Matkar's user avatar