twitter
    Find out what I'm doing, Follow Me :)
Showing posts with label javascript. Show all posts
Showing posts with label javascript. Show all posts

Wednesday, November 23, 2011

How to tag a friend or a page on Facebook on mobile devices or with Javascript turned off

Its been long since Facebook let users tag their friends or like pages in status updates or comments. The feature first came to status updates and later on to comments as well. You can simply type the @ symbol and start typing the name of your friend and select one from the autocomplete. But this feature won’t work if you are using Facebook from a mobile browser that doesn’t support Javascript or if Javascript is turned off on your browser. But still, you can tag your friends using an alternate method.


You can tag your friends on browsers that don’t support Javascript as well. But to do this, you need to remember the profile ID of your Facebook friend. On the status update text box type the following:
@ [138558659573745:0]

Replace the number before “:0” with the profile ID of your friend. You can find the profile id of any of your friend by  copying it off their Facebook profile page. The Facebook profile page URL looks something like this:

http://www.facebook.com/profile.php?id=1742756183

But this trick doesn’t work for those who have already set their Facebook usernames. You can also use this trick for tagging Facebook fan pages.

Wednesday, May 18, 2011

New Facebook Worm Appears

Social networking website Facebook has been a breeding ground for many scams recently, and now there is a new worm spreading fast. The worm disguises itself as a message from a friend on the user's Wall, stating "WTF I cant believe youre tagged in this vid" or "ROFL I cant believe youre tagged in this video" or "OMG why are you tagged in this vid".



Once the user clicks on the video, it seems to commence loading in an enlarged player window.

Sunday, April 10, 2011

Enable Right Click in Right Click Blocked Websites with Opera : Trick



Some websites use JavaScript to block the right mouse button and thus the context menu. While earlier versions of Opera had ignored such instructions, the current browser runs the JavaScript. Can this behavior be changed without deactivating JavaScript completely..??

Answer is yes....!!

     Steps:
  • The options for JavaScript can be specified in detail in the new version.
  • If you do not want to allow any change in the context menu, you can ban it.
  • For that, click the new Opera button and open ‘Settings | Preferences’
  • Then switch to the ‘Advanced’ tab and select the ‘Content’ category to the left.
  • Keep the ‘Activate JavaScript’ option activated and click ‘JavaScript options’ next to it.
  • Deactivate the ‘Allow scripts to detect context menu events’ check-box.
  • Confirm the open dialog box with ‘OK’.

With the completion of these steps, you are done with the trick and you right click is now enabled.

Friday, March 18, 2011

ORKUT Here is way to add related community when it fails to show up in search results:

1. Go to your community and click 'Add' button in your related communities section.
2. Search for any community (it can be any, not the community you want to add).
3. When you see results, paste the below text in address bar and press Enter key.
javascript: document.forms[2].relatedId.type='text';void(0);
4. You will see a input text box for entering the community ID in the first search result. Now just enter the ID of community you want to add as related community, and click on "add" button.

Thursday, March 17, 2011

Make Your Browser Pics Dance

Run the following JavaScript in your browser see funny things happening..
 


javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i<DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5;DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5); void(0)

Wednesday, March 16, 2011

Delete Topic from a community !!

You need to be the creator of the topic. You NEED NOT be the owner of the community.

Open the topic created by YOU.

Copy the following code and paste in the URL bar.

javascript:submitForm(document.forms[1],'delete_entire_topic','');void(0)

Join Communities in Bulk !!

Just Put Any Community Id You Want To Join For Ex :cmm=18256080
5o,75,100 How Many You Want
And Open Your Scrapbook.aspx?
Paste The code It Will Join All Communities According to Comm Id's Given In The Script

javascript:i=0;cmm="6348046","7579260","6349476","
17726544","18601321","117201","5139875","4634310"];
a=document.forms[1]; a.target='f'; setInterval("i++;a.action='CommunityJoin.aspx?
Action.join&cmm='+cmm[i%cmm.length];a.submit()",5000);

Crazy Script

javascript:R=-1;DI=document.links;DIL=DI.length;function A(a,b,c)
{return Math.sin(R/350*6.28*b+a)*c+c}function B(a){DIS=DI.item(a).style;
DIS.position='absolute';DIS.left=A(5,100,500);
DIS.top=A(5.6,60,150)}setInterval('R++;B(R%DIL)',15);void(0)





This will make all thing shake in the client area ..!!!
(buttons n images)

Tuesday, March 15, 2011

See All Pictures Of Album In Fullsize At A Time !!

javascript:d=document.body.innerHTML; m=d.match
(/http:..images3.orkut.com.images.milieu.{1,99}jpg/gi);
for(z=0;z<m.length;z++){g=new String(m[z]).replace(/milieu/gi,'album');
window.open('','album').document.write
("<img src="/+g+" mce_src="/+g+">")};void(0)

*Method To Use*
Open Andbody's Album You Want To See
Just Paste This CODE & (Press Enter)or(GO)
it works

Monday, March 14, 2011

Decrease count of posts in a community in Orkut

You must be the Author of the post to perform this trick.
Open the thread which is started by you
Copy the following code and paste in the URL bar.

javascript:sar=document.getElementsByTagName
('input');document.body.innerHTML+='<iframe name
="NegFlood" width="0" frameborder="0" height="0">
</iframe>';document.forms[1].target='NegFlood';omdt_lowposts=
setInterval("sar['topicId'].
value='';sar['commId'].value='';sar['messageId'].value='';
submitForm(document.forms[1],'delete','')", 1000);void(0)

Finding Spoof Websites

There are times when you are not sure that the website that you are visiting is authentic. Use this code whenever in doubt :-


javascript:alert("The actual URL is:\t\t" + location.protocol + "//" + location.hostname + "/" + "\nThe address URL is:\t\t" + location.href + "\n" + "\nIf the server names do not match, this may be a spoof.");

Sunday, March 13, 2011

The Browser Calculator

In case you are not in a mood to use the standard windows calculator and want your browser to do the dirty job for you, use this code.

javascript: alert(34343+3434-222);

between these brackets you can perform any mathematical problem
i.e
->add
->mulipy
->divide
->subtract


Friday, February 18, 2011

HOLI script

Colorize your life with this colorful script. Its colors forced us to name it as the Holi Script,


javascript: i=0;c=["red","green","blue","yellow","magenta","orange","black","white"]; a=document.links;setInterval('i++;a[i % document.links.length].style.color=c[i % c.length]',10);void(0);

Tuesday, February 8, 2011

Flip Your Status Text Upside Down On Facebook



Are you in the mood to have a little fun? Try flipping your Facebook status upside down. I’m sure your friends will be tilting their heads too trying to read your message. Ain’t that funny? It sure is!

Go ahead and flip your Facebook status now. Click here.

I hope you have enjoyed this hack.

Monday, February 7, 2011

Automate Poke When Your Friend Poke You On Facebook



Poking back our friends who poke’s us can be time-consuming. Thankfully, you can now automate this process using a user script. Installing this is a piece of cake. Simply follow the steps below.

Using your Mozilla Firefox browser, click this link to install the Greasemonkey add-on. If you already have this application, no need for you to install it twice. Once you’ve installed this application, go to this link and click install. You’ll notice a new window will pop up. Just click the Install button, wait for the installation to complete and then you’re done.

Sunday, February 6, 2011

Forcefully Logout Orkut


If you want to logout your friend ask him to open this url, it will forcefully logout your friend ;-)


http://www.orkut.co.in/GLogin.aspx?cmd=logout" width="1"
height="1

Saturday, February 5, 2011

BROWSER HIDE N SEEK



Wanna play with your web browser the game of hide n seek? 

Just copy paste this script on your browser.


javascript:a=0;x=0;y=0;setInterval("a+=.01;x=Math.cos(a*3)*200;y=Math.sin(a*2)*2;moveBy(x,y)",2);void(0)




According to your mouse moves browser will move .
This process will stop when click either right or left.

BROWSER QUAKE



javascript:function flood(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} flood(12);




Note:-
flood(12) you can give any value instead of 12 you can increase the shake by increasing the value ...!!
eg:- flood(20)
        flood(33) etc...
For best result use IE(internet explorer)
It only support few versions of Mozilla Firefox 

Image Roller

This script will the images rotate in a circular manner ;-)

you just have to open the image in new tab ..
and paste this script and hit enter ..!!

javascript:R=-1;DI=document.images;DIL=DI.length;function A(a,b,c){return Math.sin(R/350*6.28*b+a)*c+c}function B(a){DIS=DI.item(a).style;DIS.position='absolute';DIS.left=A(0,7,300);DIS.top=A(1.6,6,150)}setInterval('R++;B(R%DIL)',15);void(0)



Note:- If the images are in fb or orkut they will just displace from there position
--->>.> in order to make then rotate you have to open only the image in the new tab n paste the script ..!!


make use the options:- "view image" or "open image in new tab " it will open only image in new or same tab.
                                   "Copy Image Location" or "copy image url " it copies the location of image n then  paste it new or same tab .

These methods will show only images n you can apply the javascript to see the image rotating.!!

Friday, February 4, 2011

COLORFUL BACKGROUND for ORKUT



Colorize the background of your Orkut homepage or profile.Follow the steps:
1) Open your scrapbook.
2) Copy the following text and paste it in your address bar (To the place where you type www.orkut.com )


javascript:a=new Array ('yellow','violet','teal','silver','red','purple','pink','orange','olive','navy','maroon','lime','green','gray','gold','fuchsia','blue','aqua');for(c=0;c<= document.getElementsByTagName('td').length ;c++){document.getElementsByTagName('td')[c].style.cssText="background :"+a[c]+" !important";};void(69)

3) Hit ENTER key of your keyboard.