Orkut Scrap Template or Signature Button

Last update on Sep 7, 2007

Adds a button below scrap text boxes in orkut clicking on which you can add a html template or html signature to your scrap. Adds a preview button to instantly view the preview of the scrap with the formatting.

Changes Made:
Dynamic template added (September 1st 2007)
Preview Button added (September 7th 2007)

Installation:
Save the script to your disk. Edit the template section as you want. You can use a hardcoded value of the template/signature to be used by using the static template section. Using this you will have to reinstall the script everytime you want to change your signature. Otherwise you can use a dynamic template wherein you will place the template values in a javascript file and they will be loaded from there. So you just need to modify this js file if you need to change your signature and do a clear cache if required. If set this takes precedence over the static template. Look into the file more details. You can also install as is, then you will be getting the default template.

Description:
Now that orkut allows to use html in friend's scrap book. You can add a template to your each of your scraps like a div container thats used in the source.
You can modify the html in the fuction template at the starting of the script.
You can also use this as a signature by setting the pre value to null and post value to your signature.

I have designed this script with the new look of orkut. May not work if your account is not yet upgraded.

The script simply adds a button at the end of the scrap textbox. The look of the button is same as orkut buttons for post scrap so very well mixes up with the orkut style. On clicking on the button your template/signature is added to the text. you can choose to click on the button before writing any text in the scrap box or after writing.

Added a preview button which allows to see an instant preview of the scrap. this feature has been added to the reply to scrap textboxes as well. Orkut has recently modified their preview functionality so that it doesnt reload the page but i suspect it still makes a round trip to the server as it takes few seconds to show up the preview. The preview shows up all the formatting like [b],[blue] and the smilies and also any html code added. But currently there is no provision for converting [link] to a link or disabling html that orkut doesn't support or automatically adding a image for an image link. Use this button to preview only if u know u are using html tags allowed by orkut.

Also hides the scrap tips link and shows it also a button like post scrap and preview.

I haven't tested the script a lot. Any comments are welcome. Necessary changes will be made if required. Necessary changs will also be made if orkut changes its DOM structure.




You could comment on this script if you were logged in.

1 comment Feed-icon

1 point
login to vote
manjifera scriptwright
Posted Sep 13, 2007

nice script fall in love with look ... in scrap..
see this script here

prashant :)
http://scriptorkut.blogspot.com/