userscripts
Accessing iframes from a Chrome content-script extension
I\'m writing a Chrome extension that needs to alter a popular web app when loaded. Unfortunately, most of the UI of that web app is rendered inside an iframe, and although the address of that iframe m[详细]
2023-01-20 04:56 分类:问答Replacing a JavaScript function with a UserStyle
I\'m working on modifying a UserStyle for Instapaper.Since the original UserStyle was written, Instapaper added to their header a number of JavaScript functions that control the width of the page and[详细]
2023-01-14 20:36 分类:问答using jQuery in Safari Extension
I am trying to make a simple Safari 5 Extension that just injects a custom javascript. Any ideas how can I make use of jQuery in this custom script, please? I only know it\'s possible, because it is m[详细]
2023-01-08 22:48 分类:问答Greasemonkey & global variables
I\'m noob with JavaScript and Greasemonkey and I\'d like to write a simple script. I know that Greasemonkey wraps your code with an anonymous function so your variables won\'t exist after leaving the[详细]
2023-01-08 09:58 分类:问答Greasemonkey Userscript: pasting in jQuery?
I\'m develop开发者_运维问答ing a Greasemonkey script to be used only with Firefox, and I need some help. I\'m planning to use jQuery, and possibly some other scripts later on. Since the @require for G[详细]
2023-01-04 15:02 分类:问答Is it possible to determine if Chrome is in incognito mode via a user-script?
I asked this question before but didn\'t make it clear that I meant in user script, not in JavaScript from a webpage.So I\'ll be more clear now.[详细]
2022-12-31 23:30 分类:问答How can I run a user script before any inline scripts run on a webpage?
I want to make a greasemonkey type script for firefox that runs before the scripts on the page.Greasemonkey scripts run after scripts on the page, so that won\'t work.The reason I need this is because[详细]
2022-12-26 08:36 分类:问答turning on Greasemonkey live editing
On Firefox, I click Tools, Addons, Extensions, Greasemonkey, Options, select my user script, click Edit, change the source code, click save, reload one of the included pages, but the script is the unc[详细]
2022-12-25 12:16 分类:问答Injecting JS functions into the page from a Greasemonkey script on Chrome
I have a Greasemonkey script that works just fine in Firefox and Opera. I struggle with getting it to work in Chrome, however. The problem is injecting a function into the page that can be invoked by[详细]
2022-12-20 15:31 分类:问答Firefox Or JavaScript, count the DOM
I\'m sure this is simple but I have no idea how to do it. How do i count the amount of DOM elements in my HTML page? I w开发者_运维知识库anted to do this in a userscript or bookmarklet but i have no i[详细]
2022-12-20 05:19 分类:问答