burger menu icon
WillMaster

Latest at This Website

Here are introductions to the 11 most recent items:

Edit Any Web Page
30 December 2025, 16:03:31 UTC

Why would someone want to edit someone else's web page on the sly?

This article describes a fun and harmless way to do it. The edits aren't permanent, and they only exist in your current browser window.

So, why?

It's fun -- for a short time. Then it gets old, like anything unique no longer feels unique after a while.

(The complete article is at https://www.willmaster.com/blog/html/edit-any-web-page.php)
Easy Random Image
23 December 2025, 18:39:52 UTC

Yes, truly, this is easy.

  1. Upload the EasyRandomImage.php script into a directory that contains images.

  2. Use the script's URL as the src value of an img image tag.

When the web page loads, EasyRandomImage.php selects an image at random and sends it to the img tag.

(The complete article is at https://www.willmaster.com/library/features/easy-random-image.php)
CSS Rotate
15 December 2025, 14:04:30 UTC

When you wish to rotate text or an image 360°, perpetually, consult this article for a basic how-to. Only HTML and CSS are used. No JavaScript is required for this functionality.

(The complete article is at https://www.willmaster.com/library/features/css-rotate.php)
Formatting Superscript and Subscript
8 December 2025, 19:53:48 UTC

Superscript and subscript characters on a line of text can be formatted with the HTML <sup> and <sub> tags.

Examples of characters using the sup and sub tags.

What you see is the default for the system you are using to view this article. It works. So why an article about it?

If you want more control over the position and font size of the superscript and subscript characters, you'll need to do something different than using the sup and sub tags.

(The complete article is at https://www.willmaster.com/blog/html/formatting-superscript-and-subscript.php)
Random Colored Circle
2 December 2025, 12:53:21 UTC

Just for fun, I made a circle filled with a random color. It runs with JavaScript.

This illustration is a circle filled with one of the five Christmas colors — red, green, gold, silver, and white. The color changes every 5 seconds.

(The demonstration was put in a div with a background color so the white-colored circle would be visible.)

The color selection is random, except it won't randomly show the same color selection twice in a row.

(The complete article is at https://www.willmaster.com/library/marketing/random-colored-circle.php)
Printed But Not Published
25 November 2025, 15:44:50 UTC

When someone prints your page, they expect to print what they see in their browser window. But you can print something they don't see beforehand.

As a demonstration, when you print the accompanying web page, you'll see a notice printed that I also write books. The notice is embedded in the printed article itself. You may give it a try and see how it works by printing this page.

Here is a screenshot of what will print with this article. (The screenshot may have adjusted in size to fit properly into your browser window.)

screenshot of demo

The URL of the actual page is so long that it would discourage folks from typing it into their browser. The flowto.us URL redirects to the destination. The QR code, however, goes to the actual page.

The QR code was generated with the QR Code Generator tool. The tool is free to use.

(The complete article is at https://www.willmaster.com/library/marketing/printed-but-not-published.php)
Download Link for Any File Type
16 November 2025, 21:20:14 UTC

"Download This File" is an easy downloader built with PHP. Link to downloadthisfile.php from your web page, and the file downloads.

To block hackers from downloading just anything from your site, you list (a) the complete individual file names that may be downloaded and (b) the file name extensions of the type of files that may be downloaded.

Download This File also automatically blocks downloading of any file below the document root — from any directory or its subdirectory where your domain's main or index file is located.

Although the Download This File software tells the browser to download the file and save it to the site visitor's hard drive, the browser may do something different.

Site visitors may view your site with a phone or other tool that is not set up to download or doesn't have sufficient storage space available for your file. In that case, the browser may attempt to display the file. Further, the browser may be set up to always display certain types of files in the browser, such as PDF, PHP, text, and image files.

The browser always has the final say.

(The complete article is at https://www.willmaster.com/library/marketing/download-link-for-any-file-type.php)
Secret Image File
5 November 2025, 15:33:12 UTC

There may be a reason to hide the URL of an image you will be using on a web page.

There is a way.

Use PHP code to pull it in.

PHP code is never sent to the browser. Thus, using PHP to pull in the image and insert it into the web page will effectively obfuscate the image source file's location. When the web page is loaded, the PHP code is replaced with the encoded content of the image file itself.

The image type needs to be PNG, JPEG, or GIF. The image file name extension is a clue to its type. *.png is PNG. *.jpeg is JPEG. *.jpg is also type JPEG. *.gif is GIF.

(The complete article is at https://www.willmaster.com/library/manage-forms/secret-image-file.php)
Password Eye
31 October 2025, 19:20:54 UTC

You've seen eye icons with password fields, I'm certain. When the eye icon is tapped, what you've typed into the password field becomes readable. If it is already readable, it becomes unreadable.

There are two eye icons. One is an open eye, and one is a closed eye.

When the password field is unreadable and the open eye icon is tapped, two things happen:

  1. The password field becomes readable.

  2. The eye icon changes to a closed eye.

When the password field is readable and the closed eye icon is tapped, the two things are reversed:

  1. The password field becomes unreadable.

  2. The eye icon changes to an open eye.

To read what was typed, tap the open eye. To obfuscate what was typed, tap the closed eye.

Within the web page code, when the open eye is tapped, this happens:

  1. The password field changes from type="password" to type="text".

  2. The src value in the img tag for the eye icon changes to the URL of the closed eye image.

Both actions are done with JavaScript.

(The complete article is at https://www.willmaster.com/library/manage-forms/password-eye.php)
A Facebook Trick
27 October 2025, 10:25:35 UTC

At Facebook, when you type a URL into a post or response, the Facebook bot grabs a copy of the page at the URL.

Other social media sites may do similar things. If yes, you may be able to apply the idea in this article for those sites.

When the Facebook bot grabs a copy, it scans the HTML header for specific information. If the bot doesn't find the information it is looking for, it scans the rest of the page for clues.

(The complete article is at https://www.willmaster.com/library/marketing/a-facebook-trick.php)
Form Debugging Assistant
19 October 2025, 11:10:55 UTC

Some forms have an abundance of HTML and JavaScript code interspersed among the form field tags. The amount of code may make it difficult to find and read the details of the various form fields. This is especially true with large or complex forms.

Therefore, it can be difficult to find form mistakes that slip through during development. There are many things to look for, perhaps even things a person isn't aware should be looked for.

There may be a duplicate field name. A field name with a space in it or between the name and an enclosing quote. Perhaps there is no value tag for a hidden field. Perhaps an id tag is needed. Or, a dropdown is missing a select tag. There may be a hyphen in a field name that had been meant as the id value.

A set of radio buttons may have different names rather than all the same. Maybe there's an extra <form...> or </form> tag somewhere within the form.

(The complete article is at https://www.willmaster.com/library/manage-forms/form-debuging-assistant.php)

© 1998-2001 William and Mari Bontrager
© 2001-2011 Bontrager Connection, LLC
© 2011-2026 Will Bontrager Software LLC