Help - Search - Member List - Calendar
Full Version: Quick Link to Wikipedia
Krazy Letter Forums > Technology > Internet
Mynck
Here's a quick link to a Wikipedia article. Just right-click it and bookmark it, in Firefox only.

<a href="javascript:void(article=window.prompt('Top o\' the mornin\' to ye! What may Wikipedia find for ye this fine day?',''));if(article != null)location.href='http://en.wikipedia.org/wiki/'+escape(article);">Wikipedia Bookmark</a>

(note: may or may not be almost an exact copy from merriam-webster's site. but since it harms them in no wa i can see, well, i kinda need to go, and it's kinda short and simple, so stuff. maybe i'll change it later. make it better smile.gif)


-----Edit-----
erm... if it doesn't work... i'm working on it.

///*<!--article=window.getSelection();if(!article){-->*/
Yes! I got it to work!
lappy512
Cool, might be a converter to a teacher who likes MSIE.... smile.gif
kyle5798
wikipedia sux and so does firefox...

but neeways, wiki can be change by whoknowswho to have it lie and then ppl actually belive it. which is why it cant be trusted.
Mynck
So then check it twice, and if someone lied on it, then it'd probably would've been changed later.
lappy512
Yeah...I made a article on Krazy Letter, and someone deleted it within one day.
Mynck
Okay, I fixed the problem where if you pressed cancel, it'd take you to Wikipedia's article on Null.
lappy512
Make it so when you click cancel, it takes you to Krazy Letter Forums biggrin.gif
<a href="javascript:void(article=window.prompt('Top o\' the mornin\' to ye! What may Wikipedia find for ye this fine day?',''));if(article != null)location.href='http://en.wikipedia.org/wiki/'+escape(article);else location.href='http://forums.krazyletter.com/';">Wikipedia Bookmark</a>
Mynck
Even better, <a href="javascript:alert('348');i=0;up=0;down=0;while(i!=348){if(confirm('The number is ' + i)){i+=up++;}else{i-=down++;}}alert('The number is ' + i + ' You win!');location.href='http://forums.krazyletter.com';">Puzzlicious</a>
atticus
yes, i find Wikipedia to be a very useful source for essays abnd such, very good site.
Ali
QUOTE(Mynck @ Nov 7 2005, 05:07 PM)
Even better, <a href="javascript:alert('348');i=0;up=0;down=0;while(i!=348){if(confirm('The number is ' + i)){i+=up++;}else{i-=down++;}}alert('The number is ' + i + ' You win!');location.href='http://forums.krazyletter.com';">Puzzlicious</a>
*

0.0 You out-annoyed my signature. sad.gif
There should be a way to cancel out of it so it doesn't mimic my die.php page.
Mynck
It's not that hard to get rid of as long as you're willing to get a piece of paper out and do the math... but yeah, I guess it could get annoying. Hey, want to see something even more annoying? <a href="javascript:alert('You must now close 4242 alerts');for(i = 4241; i > 0; i--)alert('Only ' + i + ' alerts left to close!');alert('Congratulations! This is the last alert! The password is %22Imafatsojimbo.%22');">die</a>
lappy512
QUOTE(Mynck @ Nov 7 2005, 05:07 PM)
Even better, <a href="javascript:alert('348');i=0;up=0;down=0;while(i!=348){if(confirm('The number is ' + i)){i+=up++;}else{i-=down++;}}alert('The number is ' + i + ' You win!');location.href='http://forums.krazyletter.com';">Puzzlicious</a>
*


just press okay, until you get to 351, then press cancel 3 times, and you win. not that hard...
Mynck
Here's an even better link, taking you to Wikipedia Search instead of the article itself, so if you put in "Fall out boy" as opposed to "Fall Out Boy," you get something useful.

<a href="javascript:void(article=window.prompt('Top o\' the mornin\' to ye! What may Wikipedia find for ye this fine day?',''));if(article != null)location.href='http://en.wikipedia.org/wiki/Special:Search?search='+escape(article)+'&go=Go';">Wikipedia Search</a>


-----Edit-----

Sorry, bad example. "Fall out boy" works because there's a redirect. "American idiot" doesn't have a redirect, though.
Herloss
QUOTE(Mynck @ Nov 8 2005, 06:40 PM)
It's not that hard to get rid of as long as you're willing to get a piece of paper out and do the math... but yeah, I guess it could get annoying. Hey, want to see something even more annoying? <a href="javascript:alert('You must now close 4242 alerts');for(i = 4241; i > 0; i--)alert('Only ' + i + ' alerts left to close!');alert('Congratulations! This is the last alert! The password is %22Imafatsojimbo.%22');">die</a>
*


Heh, its called ctrl-alt-delete. I refuse to close all those messages.
Mynck
Hey, I warned you that it was annoying.
Herloss
ok, so what will "Imafatsojimbo" get me into?
Mynck
Absolutely nothing.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.