|
Nov 17, 2007
|
Topic: Ideas and script requests / removing frames i have no idea what im doing with greasemonkey, but all i want to do is remove the frame called "top_frame". just making that frame take up 0px would be nice too, but i don't know how to change it from saying one thing to another in GM the page,shown very simply, would look like this:
and i would need the entire the contents of the .js file because, again, i have no idea what i'm doing. |
|
Nov 17, 2007
|
Topic: Script development / YouTube stop video download Hi, thanks for this Snippet. Did you realize a working script?I think, we need 2 more things:- a Play-Button- a progress bar |
|
Nov 17, 2007
|
Topic: Userscripts.org discussion / Deleting a comment.. I think we should be able to delete our own comments only. Consider for example...
Deleting spam is another issue I think, which is something I already commented on. |
|
Nov 17, 2007
|
Topic: Script development / onerror detection DOMNodeInserted should definitely work, I don't know exactly what you are doing and I never tried it on tables, but it does fire when a dom node is inserted.
function trackNodeInserted(e){
e.relatedNode.title += " target = " + e.target.nodeName + ",";
}
document.addEventListener("DOMNodeInserted", trackNodeInserted, true);
var thetest = document.getElementById("header");
thetest.innerHTML = "<b>replaced header with this innerHTML</b>";
thetest.textContent = "replaced header with this text content";
|
|
Nov 17, 2007
|
Topic: Script development / GM_xmlhttpRequest referer not passing? I haven't tried just using XMLHttpRequest, maybe it works different, or maybe it does the same thing, it's worth a try. Another thing you might want to know: when using GM_xmlhttpRequest the browser caches the requests (at least SeaMonkey does). The first request shows up in the logs but successive requests do not until the browser cache is emptied, then the first request will show again. Normally I would see a 304 (page not modified), but I didn't even see this. I even tried setting headers for caching, which I forget now, but it wouldn't matter if the browser is just pulling it out of the cache.
|
|
Nov 16, 2007
|
Topic: Userscripts.org discussion / Deleting a comment.. I seconded the motion suggested in that ticket. |
|
Nov 16, 2007
|
Topic: Script development / GM_xmlhttpRequest referer not passing? I have posted a bug request here: https://www.mozdev.org/bugs/show_bug.cgi?id=18104 It really was a key part of a test script I was making, quite annoying.
|
|
Nov 16, 2007
|
Topic: Ideas and script requests / combatgrounds could someone make me or teach me how to make a script which will tell me how much of each weapon i can buy, kinda like the evo+ script if you've seen it |
|
Nov 16, 2007
|
Topic: Userscripts.org discussion / What am I missing? I am using a script for lynda.com I can tell that the mov is downloading, but I never see any "save as" dialog, and I can't locate the mov through search and find. What am I missing? I feel so dumb. Thanks so much.
|
|
Nov 16, 2007
|
Topic: Script development / Image replacement before original loading Not sure if I understand exactly what you're after... 1. Maybe you could remove the node and inserting another with your specs 2. Set an eventListener "DOMAttrModified" on the .src element and watch for (and block/replace) the address. |
|
Nov 16, 2007
|
Topic: Userscripts.org discussion / Deleting a comment.. I don't believe that this is possible yet, although after a quick search, I see that a ticket has been created for this to be implemented. |
|
Nov 16, 2007
|
Topic: Userscripts.org discussion / Deleting a comment.. How do I delete a comment, or edit it at least? I posted a comment in response to a question on a script and I had forgotten that the code I was using was on one line, so now the whole page is stretched out. Am I stuck with this for now? |
|
Nov 15, 2007
|
Topic: Script development / Switch to Gmail's old version Hi, I'm using a script (GmailRTL which add buttons to write from right to left http://userscripts.org/scripts/show/10023) that works only in Gmail's old version.
|
|
Nov 15, 2007
|
Topic: Script development / new user script - doesn't prompt for file To set your editor, what you need to do is open |
|
Nov 15, 2007
|
Topic: Script development / Image replacement before original loading Hi, I've written a rudimentry ad blocking script and it works great with the exceptions that the original ads are still downloaded, before being replaced. In my script I use the code element.src=whatever. My understanding was that the script was run before any links/dependancies were followed on the page? How can I change/correct this behavior? Thanks! |
|
Nov 15, 2007
|
Topic: Script development / new user script - doesn't prompt for file znerp - thanks! you said that when I select new user script it, it should popup my editor. it doesn't; how do I make it do that? it'd be nice to use that, as it will insert some text at the top. thanks! |
|
Nov 15, 2007
|
Topic: Ideas and script requests / Gmail - delete msg from msg list I want to be able to delete messages really quickly - without clicking to view them and without having to tick them for a dropdown selection. So can anyone knock something up to allow deletion right from the message list? And come to think of it - why not more actions - like applying labels? |
|
Nov 15, 2007
|
Topic: Userscripts.org discussion / Script Install Not Picking Up Metadata Do you have any idea on how to make the name 9 characters?
|
|
Nov 15, 2007
|
Topic: Userscripts.org discussion / Script Install Not Picking Up Metadata Well, 39 is still 30 more than it needs to be.
|
|
Nov 15, 2007
|
Topic: Userscripts.org discussion / Script Install Not Picking Up Metadata It appears the name is 39 characters long.
Edit:
Edit 2:
Edit 3:
|
|
Nov 15, 2007
|
Topic: Script development / GM_xmlhttpRequest referer not passing? No, GM_xmlhttpRequest does not send a referer header (or it is always blank). I assume this is a bug in Greasemonkey, or perhaps it's intentional. I tried searching for info on it but gave up. I did not see it listed here: http://greasemonkey.mozdev.org/bugs.html |
|
Nov 15, 2007
|
Topic: Userscripts.org discussion / Script Install Not Picking Up Metadata I'm sure the name is too long, @name becomes a files name. I would never use spaces myself, I think it's a bad idea. But try a much shorter name - I'm sure you don't want the Greasemonkey context menu being 80 characters wide anyway. |
|
Nov 15, 2007
|
Topic: Script development / new user script - doesn't prompt for file I'm not entirely sure what you're trying to do, but it sounds like you're clicking the option on Greasemonkey to write a new user script. If this is the case, then after entering those details it should pop up your editor (which you should have selected to be a text editor) with some lines of text at the top. You can then write a user script using this. This will then be saved in a folder in the Firefox profile directory. If however you're trying to install a userscript, all you need to do is ensure that Greasemonkey is enabled and then open the .user.js file using Firefox and Greasemonkey should automatically pick up on this and install the script. To answer your other question, putting * in the includes will mean that a script will run on every page (unless that page is in the excludes). |
|
Nov 15, 2007
|
Topic: Script development / new user script - doesn't prompt for file when i select "new user script" from popup in my firefox, I type in the information then hit OK. it doesn't prompt me to select the location of the .js file. am I doing something wrong? also, entering * into includes means it'll hit every site, right? thanks! |
|
Nov 14, 2007
|
Topic: Userscripts.org discussion / Script Install Not Picking Up Metadata Hi,
|