Author Topic: Bookmarklets  (Read 21034 times)

0 Members and 1 Guest are viewing this topic.

Offline 3rik

  • LV3 Member (Next: 100)
  • ***
  • Posts: 92
  • Rating: +8/-0
  • My TI-84+ SE
    • View Profile
Bookmarklets
« on: October 10, 2011, 09:14:00 pm »
Quote from: Wikipedia - Bookmarklet
A bookmarklet is Unobtrusive JavaScript stored as the URL of a bookmark in a web browser or as a hyperlink on a web page. The term is a portmanteau of the terms bookmark and applet, however, an applet is not to be confused with a bookmarklet just as JavaScript is not to be confused with Java. Whether bookmarklet utilities are stored as bookmarks or hyperlinks, they are designed to add one-click functionality to a browser or web page. When clicked, a bookmarklet performs some function, one of a wide variety such as a search query or data extraction. Usually the applet is a JavaScript program.

This is a fun one I created. Just Copy and Paste the following code into a bookmark then click to enjoy.


javascript: var hi = function() { var audio = document.createElement("embed"); audio.setAttribute("src", "http://radio.omnimaga.org/songs/Rick Astley - Never Gonna Give You Up (DJ Omnimaga Happy Hardcore Remix).mp3"); audio.setAttribute("autostart", "true"); audio.setAttribute("loop", "true"); audio.setAttribute("hidden", "true"); audio.setAttribute("volume", "100"); document.body.appendChild(audio); }; alert("TURN ON YOUR SPEAKERS AND GET READY FOR AWESOMENESS!!!"); hi();

  :D

Other bookmarklets that have been mentioned include:

http://ourl.ca/7315

Spoiler For Cheat Code for the bookmarklet above:
Spoiler For One must not overly abuse this awesome power:
javascript: window.ASTEROIDS.enemiesKilled=13370000000000000; Doesn't work anymore.  :(

 ;)
:devil: :devil: :devil: :devil: :devil:

http://ourl.ca/9461

http://www.quickonlinetips.com/archives/2008/07/edit-any-web-page/

Note: Some browsers don't allow "javascript:" to be pasted directly into the address bar so be sure to either retype it at the beginning or just put it in a bookmark.


If anyone else finds cool new ones or makes their own, post them here. (As long as they aren't harmful.  D:)
« Last Edit: July 08, 2012, 04:17:52 pm by 3rik »
Userbars

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: Bookmarklets
« Reply #1 on: October 10, 2011, 09:47:46 pm »
That is obviously a rickroll.
Like, who did you think you were going to fool? I'm not the only one who uses Notepad.
I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler For Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Bookmarklets
« Reply #2 on: October 10, 2011, 09:49:42 pm »
« Last Edit: October 10, 2011, 09:49:52 pm by Deep Thought »




Offline 3rik

  • LV3 Member (Next: 100)
  • ***
  • Posts: 92
  • Rating: +8/-0
  • My TI-84+ SE
    • View Profile
Re: Bookmarklets
« Reply #3 on: October 10, 2011, 09:51:44 pm »
That is obviously a rickroll.
Like, who did you think you were going to fool? I'm not the only one who uses Notepad.

Got me. ;) Well you can use it in links to rickroll others. >:D (these don't work in BBCode links unless you have access to [html] like admins do.)
« Last Edit: October 10, 2011, 09:53:04 pm by 3rik »
Userbars

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Bookmarklets
« Reply #4 on: October 10, 2011, 09:54:04 pm »
Off-topic: Oh come on, I got txt-rolled by your sig :P




Offline 3rik

  • LV3 Member (Next: 100)
  • ***
  • Posts: 92
  • Rating: +8/-0
  • My TI-84+ SE
    • View Profile
Re: Bookmarklets
« Reply #5 on: October 10, 2011, 09:56:05 pm »
Re: Off-topic: Mwahaha! Notice THE GAME is capitalized in it  :devil: (I lost)
Userbars

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: Bookmarklets
« Reply #6 on: October 10, 2011, 10:02:38 pm »
Wait, You have to be admin to use html tags? :(
I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler For Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.

Offline 3rik

  • LV3 Member (Next: 100)
  • ***
  • Posts: 92
  • Rating: +8/-0
  • My TI-84+ SE
    • View Profile
Re: Bookmarklets
« Reply #7 on: October 10, 2011, 10:11:13 pm »
I'm pretty sure. I've never been able to use them and javascript: doesn't work in [url] because it automatically adds a "http://" to it.

In bbcode one could type [html]<a src="blahblahbla">Some misleading text</a>[/html] and have "Never Gonna Give You Up" start playing in the background when it is clicked.

Unfortunately people could do some really annoying things with that power so it is probably better that only admins have that ability.
« Last Edit: October 10, 2011, 10:15:10 pm by 3rik »
Userbars

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Bookmarklets
« Reply #8 on: October 11, 2011, 12:49:50 am »
Yep. Only managers can add HTML in their posts or else it's a security issue.

Also this is a pretty inoffensive link.
« Last Edit: October 11, 2011, 12:52:27 am by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline 3rik

  • LV3 Member (Next: 100)
  • ***
  • Posts: 92
  • Rating: +8/-0
  • My TI-84+ SE
    • View Profile
Re: Bookmarklets
« Reply #9 on: October 11, 2011, 01:18:18 am »
Nice! If only I could quote it in my sig. :'(

Even when you hover over it to see the link, you can only see the javascript: void(0) part. :w00t:
Userbars

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Bookmarklets
« Reply #10 on: October 11, 2011, 02:46:36 am »
Yep. Only managers can add HTML in their posts or else it's a security issue.

Also this is a pretty inoffensive link.
Takes too long to load in my opinion :P
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Bookmarklets
« Reply #11 on: October 11, 2011, 03:03:08 am »
Yeah the issue with HTML is that any member could sign up and embed malware in their sig.

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: Bookmarklets
« Reply #12 on: October 11, 2011, 11:12:35 am »
What about sending html content to an admin to have it approved for a sig? That way it could be safe.
I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler For Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Bookmarklets
« Reply #13 on: October 11, 2011, 11:42:31 am »
or lvl4 and up?



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Bookmarklets
« Reply #14 on: October 11, 2011, 11:43:43 am »
If we had to add something big like that, it's mostly like 1000+ posts XP
(Like the music section update)
Sig wipe!