Recent posts by itsjareds
|
Sep 15, 2008
|
Topic: Script development / Namespace is not working? Thanks -- I remember reading that but I guess I forgot. Too bad the namespace does not work for this reason too. |
|
Sep 14, 2008
|
Topic: Script development / Namespace is not working? I need to have my users update my script every time I release a new one, so I created an auto-updater. It works fine, but my only problem now is it creates a new userscript when I install the new one. I think I am using the namespace right, can anyone see what's wrong? This is the metadata for my older and newer version: Old version:
// ==UserScript== New version:
// ==UserScript== And yes, both of the files are in http://itsjareds.scienceontheweb.net/misc/sip/ . |
|
Sep 14, 2008
|
Topic: Script development / url I love using this site for testing javascript regular expressions - http://www.regexpal.com |
|
Aug 18, 2008
|
Topic: Script development / Scripts do everything twice I had this problem so added a check to my script Thanks, it started happening again and that fixed it. |
|
Aug 17, 2008
|
Topic: Script development / Scripts do everything twice Are you running Firebug and is the console active for that site ? If yes, try disable console as FB can cause this "double load" behaviour. Thanks, that seemed to do it. |
|
Aug 17, 2008
|
Topic: Script development / Monitoring page JS? You could put at the end of each script:
Is this what you meant? If you have a lot of scripts installed, this may be a problem. |
|
Aug 17, 2008
|
Topic: Script development / Writing to File Not directly without making your script a FF extension. Otherwise, any web page could do this to you, and there's obviously security issues there. |
|
Aug 17, 2008
|
Topic: Ideas and script requests / Set wmode="transparent" for flash players. Please. Lol. Difference made. |
|
Aug 17, 2008
|
Topic: Ideas and script requests / how to remove <meta bla bla bla > tag ?? To write it yourself, try this:
Not been tested, but should work. Someone please correct me if I'm wrong. |
|
Aug 17, 2008
|
Topic: Script development / Getting headers of a script? How can I get the headers of a script with a function inside the same script? By headers I mean this text:
// ==UserScript== I need to get some info called @version, how can I do this? Edit: Also, I would like to know how to check if another script is installed. Thanks! |
|
Aug 14, 2008
|
Topic: Script development / Scripts do everything twice Sorry for the late reply.. lost track of this thread. Needs to be a "Search your posts" option.Could the script be running on two frames in the window?Nope, there aren't any frames on this site. Are you using FF3?Yes, v3.0.1 |
|
Aug 11, 2008
|
Topic: Script development / How to catch any error? How can I catch an error and give custom feedback in the error console? I know there is try and catch(), but how could I write it to, instead of stopping the complete script on an error, give an error message in the console about that one thing? |
|
Aug 11, 2008
|
Topic: Script development / Scripts do everything twice My scripts are doing everything twice.. I made sure by putting GM_log("this is a test") at the head of my script, and each time I load a page, that message comes up twice. There aren't two of my scripts or anything, just one. I'm not sure if this is slowing it down or not. Does anyone else see this? |
|
Jul 28, 2008
|
Topic: Script development / Getting previous node I got it working using what gollum said, I was going to try that later but I had to run. @RunningBlind: It is searching for any element with the class "mini", which was the <font></font> tag. Thanks for the help everyone :) Thanks also to gollum for the DOM Inspector.. will use often |
|
Jul 28, 2008
|
Topic: Script development / Getting previous node bump |
|
Jul 27, 2008
|
Topic: Script development / CSS Url Replacement
var rel = document.getElementsByTagName("link");
for (var a=0; a < rel.length; a++) {
if (rel[a].href == "the default href") {
rel[a].href = "your url";
}
}
Although I recommend you use Stylish (download link), it's another Firefox addon that edits stylesheets. You can change any CSS on a page with the |
|
Jul 27, 2008
|
Topic: Script development / Getting previous node I'm making a user script to remove a link on a page, but surrounding it are twotags. I also need to get rid of these tags. I tried going about doing it by using previousSibling, but it doesn't work.. at least not the way I'm doing it. This is the HTML I am changing:
and this is the JavaScript:
Does anybody have a better way of doing it?
|
|
Jul 23, 2008
|
Topic: Script development / Help with smiley replacement? I tested the regex using RegexPal, and the regular expressions are not the problem. And thanks for the blockquote help |
|
Jul 23, 2008
|
Topic: Script development / Help with smiley replacement? I mean what znerp did, with the green? Or is that not a quote? |
|
Jul 22, 2008
|
Topic: Script development / Help with smiley replacement? Have you done some GM_log(...)'s to find if your getting what you expect from your regex expressions? I did now that you told me to. It says that for every time it goes through the
What page are you testing this against?Forum: Test: :P*:P* - Spogg.com |
|
Jul 22, 2008
|
Topic: Script development / Help with smiley replacement? no, i changed a few of the smilies and their text emotes |
|
Jul 22, 2008
|
Topic: Script development / Help with smiley replacement? please? |
|
Jul 22, 2008
|
Topic: Script development / Help with smiley replacement? Hi, I am writing a script that replaces text smilies with images using Smilize. It worked right out-of-the-box, but I edited it some (mostly regex) and now it's not working. Can anyone see what's wrong with this script?
|
|
Jul 20, 2008
|
Topic: Script development / Replace text with smilies Also, is there any way to do all the smilies at once, rather than the same function over and over? |
|
Jul 20, 2008
|
Topic: Script development / Replace text with smilies I can't figure out how to incorporate that into my script. How could I change it to adding an image instead? |
