How to generate HTML using Javascript ?

Dynamic HTML is not a new markup language. It is a collection of technologies (generally HTML, CSS and JavaScript) which changes the document content once it is loaded into a web browser.
Some examples for dynamism in a web document are given below:
  • Changes to document content on user interactions or after a specified time interval or on specific browser events.
  • Moving elements to new positions.
  • Making elements disappear and reappear.
  • Changing the colour of the background and foreground.
  • Changing the font properties of elements.
  • Changing the content of the elements.
  • Overlapping elements in stack order.
  • Allow dragging and dropping elements anywhere in the browser window.
Writing explicit editing instructions in or around text is generally known as marking up text. While creating web pages, we use markup (tags) which specifies the browser how it should display the text (bold, underline, big text etc…).
In the early 1990’s a new language was created, Hypertext Markup Language, or HTML. The language was created to provide a way for developers to mark up documents so web browsers could display certain elements in bold, underline or in italics etc.

As an example let’s consider a web document which contains an image image1 initially when the page is loaded. When the user clicks on the image, the image changes to image2 which demonstrates dynamism and hence Dynamic HTML (DHTML).

Take your time to comment on this article.

Reasons Why Hackers Prefer Linux Over Everything Else

Linux Is Open Source

Unlike Windows, Linux is open source. What that means for us is that the source code of the operating system is available to us. As such, we can change and manipulate it as we please. If you are trying to make a system operate in ways it was not intended, being able to manipulate the source code is essential.
Think of it this way. Could you imagine Microsoft giving us a plug-in/MMC or whatever to manipulate or change the kernel of Windows for hacking? Of course NOT!

Linux Is Transparent

To hack effectively, you must know and understand your operating system and to a large extent, the operating system you are attacking. Linux is totally transparent, meaning we can see and manipulate all its working parts.
Not so with Windows. Microsoft tries hard to make it as difficult or impossible to know the inner workings of their operating systems. As a result, when working with Windows you are working with “shadows” of what you think is going on under the hood, whereas in Linux you have a “spotlight” shining directly at at each and every component of the operating system. It goes without saying, I think, this makes working with Linux more efficient and effective.

Linux Offers Granular Control

Linux is granular. That means that we have almost infinite amount of control over the system. In Windows, you only can control what Microsoft allows you to control. In Linux, everything can be controlled by the terminal in the most miniscule to the most macro level. In addition, Linux makes scripting in any of the scripting languages simple and effective.

Most Hacking Tools Are Written for Linux

Well over 90% of all hacking tools are written for Linux. Of course, there are exceptions like Cain and Abel and Havij, but those exceptions simply emphasize the rule. Even when hacking tools such as Metasploit or nmap are ported for Windows, not all the capabilities transfer from Linux.

The Future Belongs to Linux/UNIX

This might seem like radical statement, but I firmly believe that the future belongs to Linux/Unix. Microsoft has had its day in the 1980s and ’90s, but its growth is slowing and stagnating.
From the beginning of the Internet, Linux/UNIX has been the operating system of choice for web servers for its stability, reliability and robustness. Even today, Linux/UNIX dominates the world of web servers with well over two-thirds of the market. Embedded systems in routers, switches and other devices are almost always using a Linux kernel and the world of virtualization is dominated by Linux with both VMWare and Citrix built on the Linux kernel.
If you believe that the future of computing lies in mobile devices such as tablets and phones (it would hard to argue otherwise), then over 80% of mobile devices are running UNIX or Linux (iOS is UNIX and Android is Linux). Microsoft Windows on mobile devices have just 7% of this market. Is that the wagon you want to be hitched to?


Share your experience with us in comments below.

Facebook Knows A Lot About Your “Offline Life” Too, Without Even Telling You

Facebook obtains information about you from commercial data providers. It can include things like salary details, purchase information, eating habits, interests, etc. Facebook doesn’t tell people about this data which powers their Ad platform. A recent study conducted by ProPublica has shed more light on this matter.
Facebook tracks what you like, share, comment, and watch. It uses the data to power its ever-growing advertising platform which is a significant part of the company’s income resources. They know if you hate Donald Trump or not, you recently watched a superhero movie or some chilling horror flick.
Personally, I have observed that the items I browse on the internet are likely to show up in my news feed. That’s the level of interest Facebook has in our lives. However, they admit this thing, and their policies reflect it. Anyways, to some extent, it is fine if Facebook follows us just on the internet to serve better ads.
A report published by ProPublica throws light on the fact that Facebook tries to collect information about you from various offline sources as well. Facebook purchases data from commercial data brokers including Datalogix, Epsilon, Acxiom, etc. The data — including things like mortgage, salary details, restaurant choices, supermarket purchases, gender, location, etc. — is used to display relevant ads to the people.
ProPublica has tried to make an approximate database of such categories Facebook uses to classify people. Using a Chrome extension, they were able to include 52,000 categories in their database after crowdsourcing information from users.
Facebook doesn’t tell users about this data. It defended itself by saying Facebook itself doesn’t collect this data and the data brokers often provide it to other ad platforms.
If you want to get this information removed, according to Facebook, you’ll have to approach the data providers directly. And, it’s a tiresome process which involves authenticating yourself with a valid ID proof before the vendor would delete the information.
ProPublica says they downloaded a list of 29,000 categories — most of them auto-generated — Facebook offers to the advertisers, including 600 categories from third-party brokers. They note that the categories from commercial providers are mostly related with financial details. For example, ‘people having a household income between 100K and 125K’.
Also, the data broker provided categories that had no connection with any of the category Facebook displays in front of the users. You can check the interests by going into Settings > Ads > Ads based on my preferences > Visit Ad Preferences.
In the nutshell, Facebook wants to collect a handful of psychographic and other data related to its users. It doesn’t matter if it fuels their marketing platform. At least, Zuckerberg isn’t charging you for using Facebook. But he has to run his company and provide free Facebook to you. On the other hand, the question of privacy concern can’t be ignored.
If you have something to add, tell us in the comments below.

Microsoft Developing A Windows 10 “Game Mode” For Maximum Gaming Performance

Twitter user WalkingCat has spotted a Game Mode in Windows 10 Build 14997. As the name suggests, Windows 10 Game Mode is expected to make PC gaming smoother by minimizing the resources that other applications use. The Windows 10 Game Mode is expected to ship with the Creator’s Update that’s arriving early next year.
Earlier this week, we told you about the leaked Windows 10 Build 14997. It showed improvements coming in the Themes section, Settings app, Edge Browser, etc. It was also revealed that the company is working on adding the blue light filter feature.
The Twitter user WalkingCat has spotted another big feature named Windows 10 Game Mode that’s aimed at improving the PC gaming performance.
Just like other features that remain under development, at the moment, this feature isn’t working. But, in the upcoming builds, it’s expected to roll out to the Windows 10 Insider members.
WalkingCat mentioned the finding of a new gamemode.dll in Build 14997.
.@h0x0d 14997 has a new dll "gamemode.dll", so it looks like Game Mode is a thing
.@h0x0d looks like Windows will adjust its resource allocation logic (for CPU/Gfx etc.) to prioritize the "Game" when running in "Game Mode"
This feature will, supposedly, let your PCs act like gaming consoles and let you use the machine just for gaming. It’ll be done by adjusting the Windows resource allocation logic (for CPU/Gfx etc.).
This possible feature shows that Microsoft is really serious about gaming on Windows 10 PCs. It’s likely that Windows 10 Game Mode feature will be included in the Windows 10 Creator’s Update.
So, is the gamer inside you excited? Don’t forget to tell us your views regarding Windows 10 Game Mode.
Show your review in comments below 

10 Best Password Managers For Linux Operating Systems

With so many online accounts on the internet, it can be tediously difficult to remember all your passwords. Many people write them down or store them in a document, but that’s plain insecure. There are many password managers for Windows and OS X, but here we’ll look at some of the best password managers for Linux.
We’ve all been in that position where we’ve forgotten a password and had to do a password recovery, whether it be for an email account, social media, and sometimes something more important. It’s very convenient to write passwords down or store them in a handy document. But, it’s unfortunately very insecure. Anyone with read access to those files can obtain all your private information, and worse yet, your identity. This is where password managers shine. Password managers can secure your passwords with powerful encryption algorithms. The end result is that you only have to remember one password to be able to gain access to all your other passwords, while this may be a single point of failure in your security, you can still control who can access the password manager with additional security on your system.
Everyone’s needs are different, and as a result there many forms of password managers. There some built into OSes or computing environments, some are built into or are add-ons for browsers, and some are standalone programs with support for specific applications. We’ll cover a little of each here.

Gnome Keyring and KWallet

These two go hand in hand as GNOME and KDE are like the Yin and Yang of desktop environments on Linux. They are both well integrated into their respective platforms with good support and community. They additionally provide APIs for accessing and storing passwords. They are ideal choices for anyone looking for the extra functionality of a well-integrated password manager, similar to that of Apple’s Keychain.

Encryptr

Encryptr is a cross-platform password manager that is built on the Crypton framework, which according to The Hacker News, is recommended by Edward Snowden. Encryptr is open source and provides cloud-based access with their “Zero Knowledge” cloud system. The Zero Knowledge system means that they never have any idea of what’s actually being stored on their servers. The data is encrypted at the endpoint and decrypted at the endpoint, at no time is there ever unencrypted data on their servers. This is a truly secure approach where, even in the event of a data leak, all of the data would be completely useless. This combined with its simplicity makes Encryptr stand out of the crowd of cloud-based password managers.

Chrome and Firefox

Both Google Chrome and Firefox have local and cloud-based password storage. While they might be limited to web related services, they are still contenders. With a Google account or Firefox account, you can access your important passwords from anywhere in the world, this is in addition to automatically receiving all your personal configuration if you so choose to. Browser-based password management is as convenient as it gets for most people, and it’s surely one of the most popular solutions.

LastPass

LastPass is a cross-platform service that comes in standalone, mobile application, and web browser add-ons/extensions. It is a very popular service with millions of users. It is a tried and true product that has a reputation for customer dedication. They might not have a spotless record with regards to security, but they’ve always made timely updates to remedy the security concerns that were presented.

Pass

Pass claims to be “the standard UNIX password manager” with their UNIX-spirited approach of simplicity. Pass is command line application, but others have created a variety of graphical interfaces for it. Though it might not be fit for beginners, a large part of Pass’ beauty comes from the fact that managing passwords is as easy as using simple file management commands.

Enpass

Enpass is the second non-open source password manager on the list. Enpass offers a free cross-platform desktop client, including Linux, but those that would like a mobile experience will have to pay for it. Enpass has some extra functionality in the form of password auditing, Enpass will tell you if you’ve used the password before, tell you how strong it is, and if you need help thinking of a password, it’ll generate one for you.

KeyPassX

KeyPassX is a veteran password manager having been around since 2005. KeyPassX is fairly standard, but it does offer some additional organizational features such as grouping, naming, and even associating custom icons with entries.

Universal Password Manager (UPM)

UPM is a very simple and lightweight password manager. While it doesn’t have all the bells and whistles, you can rest assured that you won’t have any difficulty familiarizing yourself with it and your passwords will be very safe.

Figaro’s Password Manager 2 (FPM2)

FPM2, like UPM, is not one of the more decorated and feature-packed password managers. It’s very simplistic and easy to use, lightweight, and will keep your passwords secure.


If you have any question so you can in comments below.

Ever Best Top 10 Google Open Source Projects You Must Know

Google is a titan in the technology industry. Google has contributed to nearly every front of technology, and, since the Alphabet restructuring, has become the single most valuable company in the world. Google has also made some notable contributions to the open source community in the form of Android, Chromium OS, Go, Material Design Icons etc.
Here is our list of top Google open source projects based on ubiquity and market pervasiveness, GitHub stars, and trending news. So, let’s tell you more about them!

Top 10 Google Open Source Projects

Android:

As of Google I/O 2015, there were 1.4 billion devices connected to the internet running Android. This means that Android is the most popular operating system in the world, even outranking Windows. This is largely due to the fact that Android is free for manufacturers to provide on devices, meaning the devices can be much cheaper because there is no licensing fee for the operating system. This gave Google a massive upper hand in developing markets, now, as a result, Android has been adopted by hundreds of millions of people around the world. For that, Android tops our list of Google open source projects.

Chromium:

Most people are familiar with the Chrome browser, but it’s much lesser known that Chrome is based on an open source project known as Chromium. Chromium is available for download just like Chrome, and it’s a very good browser, too. All that Chromium is missing in comparison to Chrome is a few proprietary components that most people won’t even miss.

Chromium OS:

Much like Chrome and Chromium, Chrome OS has an open source base called Chromium OS. Chromium OS is a Linux-based operating system designed for ultra-portable, always-connected devices. Chromium OS is based on the Gentoo Linux distribution and is known for being very minimalistic and very secure. Barely anything more than the Chromium browser sits atop the Chromium OS making for a very lightweight system.

AngularJS:

AngularJS is a framework for web application front-ends, that aims to simplify the developmental challenges of single-page websites and web applications. While AngularJS is primarily maintained by Google, it has spawned a community of individuals and corporations that assist in its maintenance and development.

Go:

Created in 2007 and introduced in 2009, Go is a programming language meant to relieve some of the difficulties of C family languages while providing as much flexibility as possible. The Go philosophy is to sacrifice bells and whistles for simplicity, and while there is much controversy about which features have been omitted from the language, the authors argue that this is central to Go’s success as a language. The Go toolchain and standard library are available on all major platforms such as Windows, macOS, Linux, as well as various BSD family operating systems and UNIX variants.

Dart:

Another language from Google, Dart is intended as a web application, application server, mobile application, and IoT language. Unlike Go, Dart is not a compiled language. Dart is a scripting language that runs in a virtual machine much like Java or Python. In addition to the Dart’s own virtual machine, Dart can be transcompiled into JavaScript for more portability.

Material Design Icons:

Google has very many projects hosted on GitHub and the Material Design Icons repository is by far one of their most popular. When Google introduced Material Design into the Android ecosystem, they not only provided a framework for producing aesthetically coherent applications, they provided assets and resources to enrich the user experience that much more. The Material Design Icons provide hundreds of icons that are sure to help make your app look clean and professional with a unified visage.

Fuchsia OS:

Currently, Google has two operating systems to maintain, Android and ChromeOS. Despite that, Google has decided to pioneer a new operating system that is neither Linux nor UNIX based. Based on the Little Kernel, Fuchsia OS is still a mystery to us. With limited information, we can only speculate about the future of Fuchsia. There is a long road ahead of Fuchsia before it can contend with contemporary operating systems, but if Google has shown us anything, it’s that they are most capable.

Protocol Buffers:

Pushing data between processes, whether over a network or on the local machine, can pose some pretty big hurdles, especially when the sending and receiving programs are written in different languages. Foreign data types can be troublesome to convert on the fly. This is where languages like XML and JSON shine. Protocol Buffers is a data serialization protocol that’s widely used at Google for communications of all kinds. Protocol Buffers acts like a middleman between the different applications and assists by transporting the data in a temporary format that can be transmuted between the foreign data type and the native data type much easier. Protocol Buffers is another of Google’s projects that is receiving a lot of attention on GitHub.

Google Web Toolkit:

Google Web Toolkit an open source development toolkit that’s used for creating and optimizing intricate browser-based applications. Internally, it’s used by many Google products, including Google AdWords.

Bonus — Google’s contributions to Linux

Google has built its empire on Linux systems. Because of Google’s reliance on Linux, they’ve contributed countless bug fixes and patches to the Linux kernel over the years. In addition, as the result of the Android project, Google has been instrumental in the development of the Linux kernel as a mobile operating system. Android brought the advent of ultra mobile computing to Linux, and with it came the contributions necessary to allow for all these new devices to work. Google’s direct contributions to the Linux kernel were nothing short of admirable, but Google inspired others to contribute on a scale that had not been seen before the smartphone market was tapped into.
Between Google’s firsthand contributions to the Linux kernel and the cascading efforts inspired by Android, Google has helped put Android, an open source operating system, into the hands of hundreds of millions of people. That just may be the biggest contribution to open source software since the formation of the Free Software Foundation.


Show your review in comments belows