May 092012
 
internet-safe-surfing

Remember to be careful which website you access. There are many websites on the internet that are there to do harm to your computer/ laptop. These websites can infiltrate some nasty adware, malware and trojans viruses into your computer/ laptop. It is recommended that you install some very cool plugins on your browsers apart from the already installed anti virus, security software and firewall in your computer / laptop.

Have a read on one of my post virus hoax about a particular e-mail hoax that has been sent many times to many e-mail addresses.

Here is a list of some of the tools, utilities and programs I recommend.

  1. Ccleaner To clean all the rubbish and maintain a healthy registry
  2. Comodo Internet Security for anti virus, firewall and secure my system
  3. AVG is the antivirus tool that I am using with my windows 7
  4. Spybot search and Destroy to clean and control adware, malware and spyware
  5. Partedmagic I use for editing my partition and troubleshooting other issues that might arise in windows or linux
  6. Ubcd I use to test and troubleshoot issues with windows and linux
  7. Filehippo to monitor some of my tools
  8. Virus Total: VirusTotal is a free service that analyzes suspicious files and URLs and facilitates the quick detection of viruses, worms, trojans, and all kinds of malware
  9. Spyware blaster
  10. Trend Micro
  11. HijackThis A very cool little tool that helps you check to see what is going on in your boot up sequence. It also checks to see what is running in the background.

Here are a some links to websites that provide information in regards to e-mails, shopping online and websites. This is very important as many keep falling for hoax e-mail and reveal very sensitive data and purchase products that don’t exist. Remember the GOLDEN RULE if it is too good to be true chances are that it is a hoax, fraud and a lie.

  1.  Hoax-slayer: Hoax-Slayer is dedicated to debunking email hoaxes, thwarting Internet scammers, combating spam, and educating web users about email and Internet security issues. Hoax-Slayer allows Internet users to check the veracity of common email hoaxes and aims to counteract criminal activity by publishing information about common types of Internet scams. Hoax-Slayer also includes anti-spam tips, computer and email security information, articles about true email forwards, and much more. New articles are added to the Hoax-Slayer website every week.
  2. Snopes:Welcome to snopes.com, the definitive Internet reference source for urban legends, folklore, myths, rumors, and misinformation. Use the search box above to locate your item of interest, or click one of the icons below to browse the site by category.
  3. Review FBI: Ultimate Reviews On Wholesale, Dropshop & More. This link is very important if you do a lot of online shopping and some sites offer drop shipping.

If you require any information about protecting your computer/ laptop running windows operating system or have some issues with your system leave a message here and I will be glad to assist you. If you have other recommendations please share with everyone by posting here.

Have a safe internet surfing experience :)

Apr 042012
 
add-javascript-to-wordpress-post-or-page

Donate for a cup of coffee :)

Add javascript to WordPress post or page

Revised on WordPress 3.3.1 and latest TinyMce Advance Plugin version 3.4.5.1.

I have installed TinyMce Advance plugin. The issue below is related to the old plugin. You might be experiencing the same issue as I have or maybe because of the browser you are using? If you have updated the plugin to the latest version and you are running the latest WordPress version then your problem might be resolved.

I have tested the latest version of WordPress and TinyMce Advance Plugin and it works well.

The browsers I tested are:

  1. IE 9
  2. FireFox 12.0
  3. Chrome 19.0.1084.1
  4. Seamonkey 2.9

I have set the Advanced options settings under TinyMCE Advanced settings to: Stop removing…… and now what you see when entering or copying the script code under HTML editor and saving it, 2 added paragraphs <p> see image below:

 Add javascript to wordpress revised

The following instructions are for those who are still using the old version of the plugin and or are still having problems with the latest version.

To add a JavaScript file i.e from youtube to your page or post click on HTML on the top editors bar on your WordPress editor and paste your code into the page. See image below.

Add javascript to wordpress page or post image 1

Once you are in the HTML editor paste or type your code. See image below.

Add javascript to wordpress page or post image 2

The image above should work but what happens when you click on Visual tab and then click on HTML tab again the code disappears. This is very strange and I have tested the above on FireFox, IE, Chrome and Seamonkey browsers and get the same result. So in order to eliminate this issue after extensive research on the internet I came up with the conclusion of adding some code in between script tag and paragraph tag. By adding some html tag code it stops WordPress wysiwyg editor from striping the code. I added a line space html code see image below.

Add javascript to wordpress page or post image 3

When you click on the Visual tab and then click on HTML tab, WordPress wysiwyg editor creates a space and 3 lines. See image below.

Add javascript to wordpress page or post image 4

While you are in HTML editor click on update then click on Visual tab and again HTML tab and it adds a break html tag or in some case it might add 2 break html tags and also a space in between the break tag and the closing paragraph tag. See image below.

Add javascript to wordpress page or post image 5

Now you can just leave the page and navigate else where in WordPress. This can become very messy and sometimes it does not work well depending on the browser you use.  If you deactivate the plugin TinyMce Advance you will not experience the same issue above.

Alternative you can use one of these two plugins Pure Html and RawHtml, which works very well. I have tested both plugins in WordPress 3.2.1 and WordPress 3.3 and both work well.

I hope this helps you better understand how to add JavaScript to your page or post. If you need any help just leave a comment.