browser-extension

Developing Internet Explorer, browser helper object extensions?

烈酒焚心 提交于 2019-12-09 06:08:01
问题 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 mentioned in that answer, i also purchased official code sign but it simply does not working in IE11 Windows 7 64-bit. You can download my prepared version of Visual studio 2013: which includes all the source code and details for IE11: https://www.dropbox

Unidentified 404 not found pages

六月ゝ 毕业季﹏ 提交于 2019-12-08 19:46:17
问题 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 partly manipulated with same pattern; removing first segment of URL's. Example; This is true URL's; site.com/category/news/title-of-the-content site.com/another-category/news/another-title-of-the-content ... This is what we getting 404; site.com

Accessing a local directory from a Chrome App

白昼怎懂夜的黑 提交于 2019-12-08 12:18:31
问题 I am working on a Chrome extension called Chrome Snippets that will allow you to inject snippets of JavaScript from files but I am having trouble accessing local directories on the user's computer. Anyone have an idea of how to accomplish this? manifest.json: { "name": "Chrome Snippets", "description": "Run JavaScript on the DOM of any web page from a library of recipes stored on your computer.", "author": "Adam Fisher", "version": "1.0", "manifest_version": 2, "default_locale": "en",

Console.log double logging from web workers

强颜欢笑 提交于 2019-12-08 03:23:01
问题 My intention is for one message to be passed to the worker after it is created, and for that message to be logged by the worker and a reply to be sent back. What happens is that the message sent to the web worker is logged twice, and only one reply is sent. If you refresh the page or pause execution using developer tools, the message is correctly logged once. I created a miniature extension to demonstrate this. There is a background script listening for a click on the browser action button.

How to register my own firefox extension?

被刻印的时光 ゝ 提交于 2019-12-06 09:35:34
问题 I am trying to learn how to write firefox extensions. I download an HelloWorld example from here but I can't figure out how to register it. I found my profiles extension folder (Easy since I use the latest Firefox version) but couldn't really understand what is this "Pointer file" that I need to create (tried a shortcut but it didn't work). What is this "Pointer File"? How can I register it correctly? I am using Win 7 if matters. Thank You. 回答1: You have to create a file in the extensions

Write once run anywhere browser plugin tool/framework/language?

我与影子孤独终老i 提交于 2019-12-06 08:54:39
问题 I'm looking to create a browser plugin which would run in all of the major browsers, the only problem is that it seems I have to re-create the plugin in every browser. Is there some tool or framework or language I can write a plugin with where it will automatically work on all major browsers? All I need the button to do is scrape webpage content off the active page and from a few of the linked pages, then send it to a program with sockets or named pipes. 回答1: Maybe these "frameworks" can help

Javascript code to detect any page changes? (maybe via AJAX)

╄→尐↘猪︶ㄣ 提交于 2019-12-04 15:57:34
问题 Ok so I'm new to writing javascript, and here's what I'm doing/trying to do. When a page loads (window.onload) my javascript code goes through all the forms in a page and attaches a certain "onchange" method to them. This works fine for most websites on the internet, except when a page dynamically updates to load more forms on the page. How do I detect such an event and re-run my function? For example: The Facebook Newsfeed has a bunch of forms associated with all the different statuses/links

Write once run anywhere browser plugin tool/framework/language?

时间秒杀一切 提交于 2019-12-04 12:43:16
I'm looking to create a browser plugin which would run in all of the major browsers, the only problem is that it seems I have to re-create the plugin in every browser. Is there some tool or framework or language I can write a plugin with where it will automatically work on all major browsers? All I need the button to do is scrape webpage content off the active page and from a few of the linked pages, then send it to a program with sockets or named pipes. jarkam Maybe these "frameworks" can help you: FireBreath Juce 来源: https://stackoverflow.com/questions/3823635/write-once-run-anywhere-browser

How to register my own firefox extension?

社会主义新天地 提交于 2019-12-04 12:34:31
I am trying to learn how to write firefox extensions. I download an HelloWorld example from here but I can't figure out how to register it. I found my profiles extension folder (Easy since I use the latest Firefox version) but couldn't really understand what is this "Pointer file" that I need to create (tried a shortcut but it didn't work). What is this "Pointer File"? How can I register it correctly? I am using Win 7 if matters. Thank You. You have to create a file in the extensions folder with the ID of the add-on as name (e.g. helloworld@mozilla.doslash.org ). This file should contain only

Chrome extension: Execute background page only once when chrome starts

元气小坏坏 提交于 2019-12-03 15:04:21
问题 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", function () { if ( once == true ) { return; } alert( 'test' ); once = true; }, false); This seems to works fine, but i want to run the background_page.js code only once every time the browser starts. Right now, I am not sure why, but the code is executed