Post Reply 
Facebook: Prevent Link "Chaining"
Apr. 16, 2009, 03:23 AM (This post was last modified: Apr. 16, 2009 03:23 AM by Kye-U.)
Post: #1
Facebook: Prevent Link "Chaining"
In the new Facebook design, there is a Javascript function that adds an onclick call to all links ( <a> ), making it so that when you click on a link, the HREF value gets appended to the current URL (prepended with a #), such as facebook.com/note.php?note_id=1111111111&ref=mf#/home.php?ref=logo

Code:
[Patterns]
Name = "FB: Prevent Link Chaining"
Active = TRUE
URL = "$TYPE(js)[^/]++(facebook.com|fbcdn.net)/"
Limit = 22
Match = "_ElementController\('a'"
Replace = "_ElementController\('foo'"
Visit this user's website
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Facebook: Prevent Link "Chaining" - Kye-U - Apr. 16, 2009 03:23 AM
RE: Facebook: Prevent Link "Chaining" - Kye-U - Apr. 17, 2009, 03:45 PM

Forum Jump: