Recent posts by psyched
|
Mar 6, 2008
|
Topic: Ideas and script requests / How do you install a scipt? That's good. Well what you're looking for is a script that creates containers with said site in em. The easiest way I believe would be an iframe, but that doesn't look nice and has a bunch of issues. Or do you actually want to watch the videos? There are several scripts that can embed videos from a link on the site you're visiting, for example you read a youtube.com link somewhere in a page, the script will make the video appear on the webpage. |
|
Mar 6, 2008
|
Topic: Ideas and script requests / How do you install a scipt? What? |
|
Mar 5, 2008
|
Topic: Script development / select text within a div Sure, whatever :o |
|
Mar 5, 2008
|
Topic: Userscripts.org discussion / IRC Channel Hello, is there such thing as an userscripts.org IRC Channel?
Maybe anyone could run it on a server or something like that? What do you guys think? |
|
Mar 5, 2008
|
Topic: Script development / select text within a div What for? That little copy script on my page runs in about 0.3 seconds (felt like that), so why even bother? Oo |
|
Mar 5, 2008
|
Topic: Script development / select text within a div 7400ms is 7.4 seconds, right? it doesn't quite take that long with mine :o |
|
Mar 5, 2008
|
Topic: Ideas and script requests / Address link type scripts, whats best? I'd use an Addon like Linkification - much faster. |
|
Mar 5, 2008
|
Topic: Script development / select text within a div Certainly not something like ...
Anyways, now I know, and it's all about learning =) |
|
Mar 5, 2008
|
Topic: Script development / select text within a div Again, how can I measure if a regex is faster than another? |
|
Mar 5, 2008
|
Topic: Ideas and script requests / How do you install a scipt? |
|
Mar 5, 2008
|
Topic: Ideas and script requests / Help Feed Rescued Animals! Tools -> Greasemonkey -> New User Script
Simply copy&paste my code, and everything will be done |
|
Mar 5, 2008
|
Topic: Script development / GM_openInTab() opens unlimited tabs The script does indeed trigger on the tab, but the opened tab doesn't contain any links like that, it does have one on its url bar, though.
Weird, when I add an @exclude with the tabs URL, it works. I really can't see why it does that. |
|
Mar 5, 2008
|
Topic: Script development / useful piece of code for GreaseKit 1.4 How is that better?
|
|
Mar 4, 2008
|
Topic: Script development / select text within a div How does one measure that? That regex doesn't trim anything, by the way. |
|
Mar 4, 2008
|
Topic: Ideas and script requests / Help Feed Rescued Animals! setInterval(function() { window.location.refresh(); }, 1000); That should do it, but it seems pretty weird to me. |
|
Mar 4, 2008
|
Topic: Script development / select text within a div Yeah, you're right. I won't change it, cuz it's already out, but it's cleaner this way.
|
|
Mar 4, 2008
|
Topic: Script development / select text within a div Yeah, it really was too easy...
|
|
Mar 4, 2008
|
Topic: Script development / useful piece of code for GreaseKit 1.4 W00t??
|
|
Mar 4, 2008
|
Topic: Script development / GM_openInTab() opens unlimited tabs Nah, I just started working there :)
|
|
Mar 4, 2008
|
Topic: Script development / GM_openInTab() opens unlimited tabs I'm not too experienced with regexes, but I don't think it'd make any difference.
|
|
Mar 4, 2008
|
Topic: Script development / select text within a div Guess what, I really tried that, too :O All I could find out was that it sent some sort of request...
You don't have to do it, of course, it's probably totally simple, but I've been doing way to much JS today, can't really get myself to look for ajax stuff in some addon anymore :P |
|
Mar 4, 2008
|
Topic: Script development / GM_openInTab() opens unlimited tabs Hey there, I have the following code:
The problem is, my Fox won't stop opening tabs. I seriously can't see why it does that, I'm pretty sure GM_openInTab should only trigger if the href matches my regex. Anyways, I tried using an Array() then and pushing the links[i].href => same result: 1000 tabs. If I GM_setValue() my links[i].href, later on split it into a new array and read my hrefs from that, again: 1000 tabs. I think my Fox simply opens a tab for every single link found in that page, but that doesn't seem to make the slightest sense, since I actually test the links[i].href (and I'm positive it's the only one in there that matches the regex). Adding a break; isn't an option, since I'll want the script to open up a couple of tabs and do stuff with the sites in these tabs. So, is this my mistake or did I really find a GM Bug? |
|
Mar 4, 2008
|
Topic: Script development / select text within a div This userscript works really well, thanks again. Might sound like a silly question, but how would I use that as an embedded script on my own website? Nothing I tried so far has worked... |
|
Mar 4, 2008
|
Topic: Script development / GM_registerMenuCommand I see what you mean, I had that same problem with using a links[i].href in a callback function for GM_xmlhttpRequest()... I think I solved it using GM_setValue() and GM_getValue() - you can access these from anywhere in the script. |
|
Mar 4, 2008
|
Topic: Script development / GM_registerMenuCommand Why so weird?
|
