Recent posts by FF3user

Subscribe to Recent posts by FF3user 8 posts found

Aug 10, 2008
FF3user 8 posts

Topic: Ideas and script requests / images.google "image description" in 'when-clicked-on-image-page' topframe also?

@crazysnailboy:
Thanks...
But it seems to only work on pages on english (hl=en). Doesn't work for instance on these (major) languages: french (hl=fr), spanish (hl=es), german (hl=de). Plus it only works if you access the pages from the Google Images results. Also as I use NextPlease add-on and prefer screen estate, I don't like having the navbar on top too, and if you erase that part of the code ("copyNavBar") from the script (thanks for pointing that part of the script out in the code) it doesn't work on english (hl=en) pages either...

Would like if you could make a script without the navbar on top thing, which would work on every languages... and could be great also if it was possible to make it work not only when accessing from Google Image results, but also when just entering/clicking on one of the URLs without the

&imgDesc=You%20can%20display%20%3Cb%3Erandom%3C/b%3E%20images%20on%20%3Cb%3E...%3C/b%3E
part above in them.

Thank you :)

 
Jul 11, 2008
FF3user 8 posts

Topic: Ideas and script requests / images.google "image description" in 'when-clicked-on-image-page' topframe also?

Yeah...
This screenshot shows the images.google "image description": illustration1.
This next screenshot shows the look of the default 'when-clicked-on-image-page' topframe: illustration2

Then what I would like is to have the "image description" showing in the 'when-clicked-on-image-page' topframe also, as showed in this screenshot: illustration3

Can you figure out the code for that? Is it even possible?

 
Jul 11, 2008
FF3user 8 posts

Topic: Ideas and script requests / Auto-select everything (all text) in forms/search boxes, when focused?

@znerp:
Thanks, it now works if I click behind/after/to the right of the "Search..." text, but if I click on the text/in the middle of the letters, sometimes often it just blinks and afterward my text cursor is placed between two of the letters... Can this be fixed?
(If not this is still better than before...)
My code with your addition:

// ==UserScript==
// @name           Auto-select all text in forms/search boxes when focused
// @namespace      http://userscripts.org/forums/2/topics/2779
// @description    Auto-select all text in forms/search boxes when focused
// @include        *
// ==/UserScript==

searchBox = document.getElementById("s")
searchBox.addEventListener("focus", function() {
	this.selectionStart = 0;
	this.selectionEnd = this.value.length;
}, false);

 
Jul 11, 2008
FF3user 8 posts

Topic: Ideas and script requests / Auto-select everything (all text) in forms/search boxes, when focused?

Thanks for the quick replies, but the suggestions doesn't seem to work for me on the test site with javascript disabled.

Maybe (if you don't have NoScript) you could try having javascript disabled via this link: http://tinyurl.com/6nled5 (testpage seen through vTunnel with javascript choosen disabled)

The code I am using (I have tried both of them):

// ==UserScript==
// @name           Auto-select all text in forms/search boxes when focused
// @namespace      http://userscripts.org/forums/2/topics/2779
// @description    Auto-select all text in forms/search boxes when focused
// @include        *
// ==/UserScript==

searchBox.addEventListener("focus", function() {
	this.selectionStart = 0;
	this.selectionEnd = this.value.length;
}, false);

P.S. all the text is choosen with/without the script if I focus the box using the "Tab" key. Same it is if I tripple click in the box...

 
Jul 11, 2008
FF3user 8 posts

Topic: Ideas and script requests / Auto-select everything (all text) in forms/search boxes, when focused?

Can somebody make me a userscript which, when one focuses a form/search box, makes sure that all text already there is selected?
Even though javascript is disabled for the site (I use NoScript add-on)?

Testpage: http://5440.morelyrics.co.uk/index.php?s=firefox (with NoScript/javascript disabled for that site, clicking in the search field, the "Search..." part remains present)

Would be nice to have such a script, as one wouldn't have to press "SHIFT+HOME" or select everything with the mouse, before he/she could type the wanted query into it...
Thanks in advance.

 
Jun 18, 2008
FF3user 8 posts

Topic: Ideas and script requests / Blogger.com - Auto-Skip Content Warning Page

@Mikado:
Thanks man :D! it works!
So, what about?:
Uploading it as a script to the database? I just found this thread, because after having found nothing searching for a userscript here at http://userscripts.org/ main search form, I then searched on Google.
I think that you should upload it, as you have made it. I don't think that I can upload it?
Thanks again :).

 
Jun 18, 2008
FF3user 8 posts

Topic: Ideas and script requests / Blogger.com - Auto-Skip Content Warning Page

Maybe this will help the coders:
(On Google) Just found a bunch of non-nudity blogs, that have content warnings:
http://bennettunscripted.blogspot.com/ (think it is a political blog)
http://the-muslim-question.blogspot.com/ (think it is a political blog)
http://adeptos.blogspot.com/ (think it is a hooligan blog)

 
Jun 18, 2008
FF3user 8 posts

Topic: Ideas and script requests / Blogger.com - Auto-Skip Content Warning Page

I would like to have such a script too!

I can confirm the things 'xlarge' is telling.
All I can add - and I don't really know if its relevant - is that, once one have clicked the "I understand (...)", then that warning wont appear for that site again, as a cookie is placed by the site.