Recent posts by jerone
|
7 hours ago
|
Topic: Script development / Gravatar Enlarge Make it run on all pages: ...If you've read above posts you've found out that doesn't matter! @JoeSimmons
|
|
Oct 9, 2008
|
Topic: Script development / removing bodies of text...? HELP! Removing/hidding elements is just basic Javascript. Try a tutorial about Javascript first before you ask for help. |
|
Oct 9, 2008
|
Topic: Script development / Memory leaks Sometimes I read about memory leaks in Javascripts.
|
|
Oct 8, 2008
|
Topic: Ideas and script requests / Turn drop-down list into list box Nice clean code, Aquilax. |
|
Oct 8, 2008
|
Topic: Userscripts.org discussion / Spam and malware Scrap all spammer: http://userscripts.org/users/39307/scripts
|
|
Oct 8, 2008
|
Topic: Userscripts.org discussion / Site suggestions Thank you and sleep well ;P p.s. Feel free to edit above post and cross out if you've got done an item. |
|
Oct 8, 2008
|
Topic: Script development / stop script from executing in Iframes? You can include this in your scripts:
if(top.location != location){ // anti-frame
return
};http://userscripts.org/forums/2/topics/2297
|
|
Oct 8, 2008
|
Topic: Script development / Gravatar Enlarge Not that clear explained, but here and here is some more info. |
|
Oct 8, 2008
|
Topic: Script development / How to Remove a tag? |
|
Oct 8, 2008
|
Topic: Userscripts.org discussion / Site suggestions I've got 'some' suggestions you mite consider:
Sorry for the big list, I'm just trying to improve something great.
gr J |
|
Oct 7, 2008
|
Topic: Userscripts.org discussion / Error: 'window' is undefined After you restart your browser, go back to the page were you found the script and click the link again and a dialog will popup to install the script.
|
|
Oct 7, 2008
|
Topic: Script development / Gravatar Enlarge Simply because the page isn't a HTML page. It page type is " |
|
Oct 4, 2008
|
Topic: Ideas and script requests / Script for Gaia Online You did search first? |
|
Oct 4, 2008
|
Topic: Script development / How to clean database after many GM_setValue calls? You could use Cookies or globalStorage, but both have their disadvanteges. |
|
Oct 3, 2008
|
Topic: Ideas and script requests / Opera Yes there is: UserJS Manager. |
|
Oct 3, 2008
|
Topic: Script development / Gmail Script Problem HELP First of all use <pre> tags for large chunks of code
|
|
Oct 3, 2008
|
Topic: Script development / Permission denied to call method Window.prompt Try |
|
Oct 3, 2008
|
Topic: Script development / is it possible to take a whole page and put what's inside in a table? You can get the source of a page with |
|
Sep 30, 2008
|
Topic: Script development / Cross Domain CSS problem. I always use this peace of code to get the real style of an element:
// Get Rendered Style;
// syntax: $getStyle($gi("testDiv"),"font-size");
// return: [String] style value;
// params: node [Node] refered element;
// attr [String] style attribute;
// (frame) [Node] frame element (default: document)(optional);
// note: Mozilla (Firefox), Opera and Safari will return the actual pixels of a measurement, while IE returns the used value;
_.$getStyle = function(node,attr){
var doc=arguments[2]?arguments[2]:$d;
if($d.defaultView && $d.defaultView.getComputedStyle){ /**Mozilla,Opera,Safari**/
return doc.defaultView.getComputedStyle(node,null).getPropertyValue(attr);
}
else if(node.currentStyle){ /**IE**/
return node.currentStyle[attr.toCamelCase()];
} };
|
|
Sep 29, 2008
|
Topic: Script development / Writing style Thnx znerp, English isn't my first language. Personally I prefer the latest; takes less characters. |
|
Sep 29, 2008
|
Topic: Script development / Writing style I'm just with a code writing question; which is better?:
var variable = new Array(bla,bla);or var variable = [bla,bla]; The same for RexExp and Object. |
|
Sep 29, 2008
|
Topic: Script development / NFC/NEWS1 original page (redirect & ads section skipper) OffTopic:
|
|
Sep 29, 2008
|
Topic: Script development / addEventListener Weirdness I always first append the new element to the place I want it and then attach an event listener. |
|
Sep 28, 2008
|
Topic: Script development / NFC/NEWS1 original page (redirect & ads section skipper) if (t2.test(location.href)) {
tmp = location.href.replace(t2, "/");
location.href = tmp;
}@ekbworldwide. Can you tell me why new Regexp is better?
|
|
Sep 28, 2008
|
Topic: Script development / (reformatted) Returning XPCnativewrapper from getElementsByTagName, simple script question? Use this line:
var textwithhref = "<a href=\"" + "http://www.othersite.com/index.php?product=" + hrefnow + "\">" + texttolink.textContent + "<a>"; |
