Questions tagged [browser-extension]

Browser extensions are additions to a browser that add to or improve some part of the browser's functionality.

Browser extensions are additions to a browser that add to or improve some part of the browser's functionality.

Consider including browser-specific tags to your question, such as:

506 questions
6
votes
1 answer

Get the exact font of a rendered text in the browser, maybe with a browser extension

I know you can get the font-family value by window.getComputedStyle() but that's not always exactly the font that is used by a browser to render. For example, if the given text contains the (multi-lingual) text the font family does not carry, the…
beatak
  • 8,376
  • 9
  • 30
  • 41
6
votes
2 answers

Unidentified 404 not found pages

We are getting lot of 404 page not found error which we can't find the reason with same pattern. We are not doing any redirect for this 404 pages or we are not giving link anywhere for this broken page links. The common point for this errors is…
6
votes
3 answers

Developing Internet Explorer, browser helper object extensions?

1) I am trying to make a simple BHO in C# like here already answered: https://stackoverflow.com/a/5740004/285594 2) But unfortunately they all tried less then IE11, where some made it work and some failed too 3) after following everything as…
user285594
6
votes
3 answers

Chrome extension: Execute background page only once when chrome starts

I am playing with chrome extensions, my manifest loads a background page with: ... "background": { "scripts": ["background_page.js"], "persistent": false }, ... The .js code looks like this: var once = false; window.addEventListener("load",…
6
votes
1 answer

Use facebook authentication for browser extension

I'm wondering what will be the best way to implement Facebook connect for a browser extension . the two options I have in mind are: Implement Oauth protocol directly in the extension context (http://developer.chrome.com/extensions/tut_oauth.html)…
5
votes
4 answers

Prevent my Elm app from crashing when a 3rd party changes the DOM

I have an Elm app. A while ago I realized that my app was crashing locally when I used FontAwesome icons. I came to understand that it happened because I chose SVG icons and therefore FontAwesome was modifying the DOM. That conflicted with Elm's…
viam0Zah
  • 24,462
  • 8
  • 70
  • 95
5
votes
2 answers

Source maps (for browser extension) don't work for me in Chrome 75, Edge 77

I created an example browser extension written in .html and typescript that is working fine in Chrome, Firefox and Edge (canary). Typescript compiler generated .js and .js.map files from the .ts files. I want to debug the source code where I can…
5
votes
0 answers

Chrome extensions do not respect browser_specific_settings

The W3C Browser Extensions Community Groups has been working for a while on compatibility between browser extensions on different platforms (Chrome/Firefox/Edge/Opera/Etc.). They have a list of keys which should be safe to use. An important one…
5
votes
2 answers

Why is my packaged chrome extension not updating?

UPDATE: Solved one part, but not other I have the CRX updating now (it was not rebuilding). However, Chrome will not accept the XML or CRX at an https URL. I believe #2 is because it's a self-signed certificate. Does anyone know if there's a way…
5
votes
0 answers

Extension creation fails with no information

I have a browser extension that works in Firefox, IE and Chrome and I'm currently porting it to safari. I followed the instructions on the apple developer site and also renamed the extension folder to myext.safariextension . I got a certificate and…
Benjamin Gruenbaum
  • 246,787
  • 79
  • 474
  • 476
5
votes
3 answers

Add-on to copy a page element with styles

I'm looking for an add-on for any browser that could copy any particular web page element with all it's styles to clipboard to be paste-in and show someone. The aim is to have an opportunity to quickly share a small part of my big project or to…
4
votes
2 answers

Safari extension send message to a specific tab

Is there a way to send a message from the global page to a specific tab? What I'm currently doing is, on tab creation the injected script creates a unique id and sends a message with this number to the global page and the global page saves this…
4
votes
2 answers

How to Access a Global Variable through TypeScript in a Browser Extension Context (and partially type it if possible)

1. The Problem I'm trying to access a global variable from a website — random OGS Example — through TypeScript in order to get data from the current board game. I'm pretty new to TS so I'm not really sure how I would type this variable either. The…
Philippe Fanaro
  • 2,422
  • 1
  • 17
  • 44
4
votes
1 answer

Extension for Chrome or Firefox to edit pages?

Is there an extension like Firebug/Chrome "inspect element", that allows one to easily add nodes to a page, and save the changes back to a file? It strikes me that this would be nice way to develop pages.
Marcin
  • 44,601
  • 17
  • 110
  • 191
4
votes
0 answers

What is the best practice for updating open tabs after your Chrome Extension updates (with content script)?

My Extension's content script interacts with every open tab. When I update my Extension any existing tabs will have the old content script and my Extension will not function. I have tried putting an alert on the page asking users to refresh…
11teenth
  • 1,303
  • 1
  • 10
  • 22
1 2
3
33 34