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:

680 questions
0
votes
2 answers

Do you know an open source Javascript extraction/regexp engine?

We are in need of a DOM parser, that will be able to run a bunch of patterns and would store the results. For this we are looking for libraries that are open and we can start on, able to select elements by regexp (for example grab all elements…
Pentium10
  • 204,586
  • 122
  • 423
  • 502
0
votes
1 answer

Automating a users web application

I want to help users change privacy settings in a third party web application. My first thought was loading the web application in an iframe and interacting with it via JavaScript. But the same-origin policy would prohibit that. To avoid the…
hoju
  • 28,392
  • 37
  • 134
  • 178
0
votes
1 answer

JQuery injecting click()

I am currently building a browser extension that injects javascript/jquery into certain pages, and i am having a weird issue, where forcing .click() events are not working from my injected code. The strange bit is that it works completely fine if i…
BananaNeil
  • 10,322
  • 7
  • 46
  • 66
-1
votes
1 answer

How to detect whether it's an old tab or a special page in chrome extension development

I want to know whether the current tab is an old tab which was opened before installing the extension or is that a special tab (browser UI, extension page, chrome.google.com) where I can not inject the content script. There's a partial solution…
GorvGoyl
  • 42,508
  • 29
  • 229
  • 225
-1
votes
1 answer

How to prevent websites from tracking/reporting console.log calls of my browser extension?

Having caused some Track&Report-Messages in console recently I just became aware of those client-side logging capabilities of accordingly armed websites. I always thought the console would be my very own real estate, but that was naiive, quite…
Amanahumpa
  • 55
  • 12
-1
votes
1 answer

Pause javascript for-loop while waiting for response from mutation observer?

This is maybe an unusual situation, but I'm writing a Chrome extension that iterates through elements on a webpage. To do this, I'm going through the children of the main div using a for-loop, like below: function grab_data() { //element in…
-1
votes
1 answer

It is possible to login the user into chrome extension using the local storage of our website?

I am trying to build my first browser extension, In this extension I want users to automatically login if the access key of our website is present in local storage. It is possible to build functionality like that if yes then how?
-1
votes
1 answer

How can I modify an extensions badge in jQuery?

Can I use jQuery to add Removed += 1 like it has been used in the top function? Can I make it only add 1 if the attribute was removed? window.onload = function() { let Removed = 0 const anchorElements = document.getElementsByTagName('A') …
-1
votes
2 answers

How to colorize plain text files in browser based on multiple regular expressions?

I do often have to look at long plain text log file in browser and I find hard to spot the error message in that amount of text. Most error messages are easily identifiable using regular expressions. I have being using this trick to highlight…
sorin
  • 161,544
  • 178
  • 535
  • 806
-1
votes
1 answer

Error on adding extension to FirefoxProfile

After searching I found a way to add extension to the Firefox via .FirefoxProfile(). However, the same solution is mentioned everywhere. I don't understand why I am facing an error. Here is the code: String firebugFilePath =…
-1
votes
1 answer

Add js file and call a js function from C#

I am developing an IE Addon using C#. I have javascript functions in a js file. I need to attach the js file to C# and call js functions from C#, send value to js and it must return a value. JS File - sample.js : function sample (str) { //js…
abby
  • 1
  • 3
-1
votes
4 answers

How do I get the element being edited?

I'm developing a webapp, and I have a problem with the JavaScript. The following is a simplified version of the HTML causing the problem. I have some nested contenteditable divs (I replaced the real content with placeholder text):
clickbait
  • 2,818
  • 1
  • 25
  • 61
-1
votes
1 answer

Extension bar always visible

I'm developing a multi-browser extension using the Crossrider framework. Is there a solution to show an html horizontal menu on the top of each page ? The menu will embed a JS script which uses some external libraries. Indeed, I can prepend my…
-1
votes
1 answer

CrossRider extension not working properly. Is it a bug?

We are using CrossRider to develop an extension for Internet Explorer. I'm using debug mode with the following code in extension.js: /************************************************************************************ This is your Page Code. The…
Uri
  • 2,992
  • 8
  • 43
  • 86
-2
votes
1 answer

Extract Youtube ad-button Link with javascript

I need to extract a link that is generated on the client side when clicking a button. When clicking the button the browser opens a new page and redirects the user to the advertiser. How can I get this link?
TotalOne
  • 7
  • 3
1 2 3
45
46