Wednesday, June 23, 2010

Some Java script tricks

  • Edit the content of a web page:
    • By setting contentEditable to true, we can change the content of a web page.
    • Type javascript:document.body.contentEditable='true' in the address bar of your web browser. Not only to body, this can be applied to a wide range of tags.
    • Can check the status of contentEditable by isContentEditable. For example, javascript:document.body.isContentEditable to check the status of body tag.
  • Avoid page refreshing:
    • Typing javascript:void(0) in the address bar avoids page refreshing. void should be used with a number. That is, the parameter of zero is compulsory.
    • Therefore, to alter the content of web pages this has to be added to take the effect of the content to be edited. The whole thing now becomes something put down this way: javascript:document.body.contentEditable='true';void(0).
  • Knowing IP address:
    •  "ip" gives the IP address. For example, "javascript:alert(ip)" would give the IP address of the client.

What's new in Ubuntu 10.04

I found these very much interesting in Ubuntu 10.04 over the previous versions.

1. Security:
                    The security levels in Ubuntu 10.04 have been increased. Firstly, a "root" account cannot be created under any circumstances, thus forcing us to use only the normal account. However, we can make installations using that. But a direct "root" account is not available.
                 
2. Messaging:
              I think this field has got a wide improvement over the previous versions. It makes audio and video calling very easy. In addition to this, Social Gibber client is also installed by default, to view microblogs such as twitter and other social networking sites.

3. Networking:
                     I found networking has improved over Ubuntu 9.10. This previous version only had connection through Internet by command line. There are bugs in Network Manager in Ubuntu 9.10 especially when connecting by DSL. But these bugs are rectified in Ubuntu 10.04.

4. Startup:
                Startup time has decreased and the operating system loads within no time. Quick startup definitely gives it an extra edge over the previous versions. Other softwares also seemed to start in quick time.

5. Games:
                   The games have also been changed. There are more logical games than the other conventional card and arcade games.

6. Other improvements:
  • Open Office 3.2 is used in this operating system. It starts very quickly and has many additional options over the previous versions.
  • Graphics drivers are installed automatically along with the operating system.
  • The new sound recorder is working well. There were some bugs in Ubuntu 8.10.
  • "Add or Remove programs" has been changed to "Ubuntu Software Center", leading to better categorization. The default programs can also be removed from the system, while this was not possible in Ubuntu 8.10.
Related Posts Plugin for WordPress, Blogger...