Navigation

Home‎ > ‎

Tech Notes: Skip "Like" Bookmarklet, and Theory behind

Skip "Like": Bookmarklet, and Theory behind.

(不再被迫"Like": Bookmarklet, 及 原理)

by Aim Leung on Thursday, 25 August 2011 at 11:40

Bookmarklet to Skip Like:

---------------------------

Right-click and bookmarks the link below: (右鍵, 加入 書籤:)

Skip-Like_Bookmarklet

___________________________

 有了Bookmarklet, 現在Internet Explorer都可以避免被”Like”X

 

回應以下新聞:

立法反對「Like」強姦 - VDONext V壹網 - 數碼達人

http://www.vdonext.com/index.php?fuseaction=Features.Archive&channel_id=575781&program_id=18

___________________________

 

Why Skip "Like":

- "Like" a page mean: implicit allows the page to post on yr wall.

(It can be embarrassing, e.g. posting "I am Xxy")

- protect yr privacy.

(It can be embarrassing, e.g. posting "Xxy likes Hello Kitty")

 

Notes:

1.why makes it be Bookmarklet:

- I Found no bookmarklet for skipping like by google search.

- Bookmarklet works on all browsers (not just add-on on specific browser, they only support Firefox, Chrome).

 

2.why makes this note:

- Let know the theory behind, rather than install trivial things blindly.

___________________________

 

 

Theory behind(Hypothesis):

---------------------------

- Run the JavaScript, a FB object with its URL location reference added by looping.

- When webpage found it has a FB object's reference matching its FB.ui.link 's URL, webpage will feed the hidden content.

 

Sample Page Source:

A webpage hiding its content unless a "Like" granted.

___________________________

 

Nested Syntax:

----------------------------

javascript:(function(){

     var obj=FB.Event._subscribersMap['edge.create'];

         for(var i = 0,l=obj.length; i < l; i++) {

              obj[i](location.href,'');

___________________________

 

 

Content to be pasted on browser(JavaScript):

----------------------------

javascript:(function(){ var obj=FB.Event._subscribersMap['edge.create']; for(var i = 0,l=obj.length; i < l; i++) { obj[i](location.href,'');

___________________________

URI Encoded version:

----------------------------

javascript%3A(function()%7B%20var%20obj%3DFB.Event._subscribersMap%5B'edge.create'%5D%3B%20for(var%20i%20%3D%200%2Cl%3Dobj.length%3B%20i%20%3C%20l%3B%20i%2B%2B)%20%7B%20obj%5Bi%5D(location.href%2C'')%3B

___________________________

 

 

 

References:

---------------------------

FB.Event.subscribe - Facebook developers

http://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/

 

FB.ui - Facebook developers

http://developers.facebook.com/docs/reference/javascript/FB.ui/

___________________________

 

Credits:

---------------------------

Anti-Force Like for Firefox By Ming Apps :: Add-ons for Firefox

https://addons.mozilla.org/en-US/firefox/addon/anti-force-like-for-firefox/

(PS: I m not the Ming in "Ming Apps")

早上起來無聊,花了少許時間"破解"...

https://www.facebook.com/cychoi/posts/193340037369592

 

[小技巧分享]利用瀏覽器手勢來使用Anti-force Like(破解強迫按讚) - Mobile01

http://www.mobile01.com/topicdetail.php?f=423&t=2162998

___________________________

 

We make it works. (Originated by Aim Leung)