~~~~~~~~~~~~

I posted a few bookmarklets to allow you to search even quicker than before. Let me know if you have any requests!

~~~~~~~~~~~~

Wednesday, January 28, 2009

Metrolyrics and anti-copy

Metrolyrics has a "anti-copy" script running in its website, which doesn't allow us to copy (Ctrl+C) from the website directly. So, what do we do?

1) Please use only if necessary.
It makes it hard for other guides to respond to MORE queries if we can't copy lyric sites. We are NOT going to type the lyrics out for the IS. There are tons of other lyric websites around, so please try the others first:
  • www.songmeanings.net,
  • www.lyricsmania.com
  • www.azlyrics.com
  • www.elyrics.net
  • www.lyricsmode.com

2) If you must use it, here are a few tips to disable anti-protect
  • Disable Javascript

    • You can do this manually by going into the Tools>Options menu of your Firefox. Go to your Content Tab and Uncheck "Enable Javascript." Remember to turn this back on when you're done because some sites require this for content to load.

    • If you have the NoScript extension installed (this extension enables javascript from only websites you "trust," as malicious javascript can be potentially harmful), just disable javascript for metrolyrics and you're fine. If you have questions on how to do this, please email me at rnhung@gmail.com.

    • If you have the Greasemonkey extension installed, it may be easier just to install this script. It claims to just disable the anti-copy feature of Metrolyric sites. I have not used this myself.

    Thanks for reading.

2 comments:

Unknown said...

Type this into your URL:
javascript:alert(iframe_lyrics.contentDocument.body.innerHTML.replace(/
/g, "").substring(0, iframe_lyrics.contentDocument.body.innerHTML.replace(/
/g, "").indexOf("<" + "h5" + ">")));
Press Ctrl + a, then Ctrl + c, and then you are done.

James said...

Open lyric page paste this to address bar
javascript:document.write(document.getElementById('iframe_lyrics').contentWindow.document.body.innerHTML);

And the lyric is now yours