←June→
Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
|
|
|
|
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
|
| ←2023→Months |
Jan |
Feb |
Mar |
Apr |
May |
Jun |
Jul |
Aug |
Sep |
Oct |
Nov |
Dec |
|
Fri, Feb 04, 2022 3:27 pm
Evernote - Clipper has encountered an error
Recently, when I've tried to save a webpage to
Evernote in the
Brave web
browser, I frequently see the message "Clipper has encountered an error"
with "Unknown error occurred. UNK."
I have been able to save the page by disabling and then re-enabling
the Evernote extension in the browser. In the Brave Browser, you can
do so by closing the error message window, then clicking on the icon of
3 short horizontal bars at the upper, left-hand side of the Brave window
which will display a menu of options. Select "extensions" and then click on
the red slider button at the bottom, right-hand side of the Evernote Web
Clipper extension to turn it off (it will go from red to gray).
Then click on it again to re-enable the extension. You can then close
the Brave extensions tab (brave://extensions). You will then need to
refresh the page. After I've disabled and re-enabled the extension when
I've seen the error message, I've then been able to click on the icon for
Evernote near the browser's address bar and save webpages to Evernote.
[/network/web/browser/brave/evernote]
permanent link
Wed, Nov 17, 2021 9:56 pm
Automatically resizing an image for mobile devices
I created this domain in April of 1997, a time when mobile device usage was
not common.
HTML 3
was the version of the HyperText Markup Lanugage (HTML) in usage then with
HTML 4.0 not being
pubished as a W3C Recommendation until December of that year. In the past,
I used to add material to the site far more frequently. I haven't added much
to the site in the last few years and haven't made any significant changes
to the site for many years. Consequently, visitors viewing pages with large
images from a mobile device would see only the leftmost portion of those
images and would need to scroll right if they were using a mobile device
such as a phone. I finally added a few lines to the site's style.css
Cascading Style Sheets (CSS)
file today to have images be scaled down to fit the screens of mobile devices.
The lines I added are those below:
img {
max-width: 100%;
height: auto;
}
Those lines tell browsers that the maximum width of an image when it is
displayed within the user's browser shoud be no wider than the page's
width as it is displayed within that browser on that device. I added the
"height: auto;" to ensure that when images are resized that the height
is also adjusted to maintain the heighth to width ration of the original
image. Otherwise, some images might be distorted so that the image height
would be much greater in relation to its width than in the original
image. With the auto setting, the height to width balance remains such that
the image fits within the displaye page without appearing elongated.
[/network/web/html/css]
permanent link
Sat, Nov 13, 2021 10:25 pm
Removing logo image from 2O11 SMF Theme
After I installed the 2O11 theme (the name of the theme has a capital "O"
between the two and the first "1", though it looks like it would be 2011)
on a Simple Machines Forum (SMF) web site, I noticed it placed a logo at the
top, right-hand side of pages with "SEFFAF Tema" displayed. The logo
overlapped a search field.
The image that was displayed was in the Themes directory for the site at
Themes/2O11/images/smflogo.png
. The relevant section of code
in the
index.template.php
was as follows:
echo '
', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />' : '<div id="siteslogan" class="floatright">' . $settings['site_slogan'] . '</div>', '
</div>
I removed the code starting with empty
and
extending through the first '</div>'
. I.e., I deleted the
following code:
, empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />' : '<div id="siteslogan" class="floatright">' . $settings['site_slogan'] . '</div>', '
The empty
function in the PHP code checks
whether the variable $settings['site_slogan']
is empty. If it is
then the
question mark ternary operator results in the logo image being displayed.
If the variable is not empty, it creates a
div section in the
code where the value of site_slogan
is displayed from the
array settings
. Since the site owner didn't have a site slogan
and didn't want the image, I removed the code.
[More Info]
[/network/web/forums/smf/themes]
permanent link
Sat, Nov 06, 2021 8:30 pm
fcksavedurl
I needed to edit an index.template.php
PHP file for a
Simple Machines Forum
(SMF) theme to correct a problem with an image no longer being available
at the site pointed to in the code. For the missing image, I saw the following
code in the file:
<a
href="#" _fcksavedurl="#" class="yukari"><img src="http://i43.tinypic.com/24xml1i.png" _fcksavedurl="http://i43.tinypic.com/24xml1i.png" border="0" title="Yukarı" /></a>
Instead of the referenced image appearing, a large image with the
message "The image is no longer available appeared" on it appeared.
I found the
original image at
the WayBack Machine
from a web crawl performed by the WayBack Machine on
November 17, 2018. It was just an upward pointing arrow within a circle with
some decorative elements around the circle, so I could easily substitute
another image for it—clicking on the image within the theme resulted in
the page being redisplayed, but putting the viewer at the top of the page again
if the viewer had scrolled down the page. But I wondered why the
"_fcksavedurl=" was referenced. It is apparently because the code was edited
with the the CKEditor
WYSIWYG editor - see
"_fcksavedurl?".
The CKEditor was first released in 2003 as FCKeditor according to the
Wikipedia CKEditor page.
I changed both references to the prior image to point to the new image I
placed in the "images" subdirectory for the theme where the problem occurred.
[/network/web/forums/smf]
permanent link
Thu, May 06, 2021 10:59 pm
Importing Firefox Bookmarks and Saved Passwords into Microsoft Edge
If you wish to import bookmarks and/or saved passwords from the
Firefox web browser into the
Microsoft Edge
browser, you can take the following steps:
-
Click the star with the 3 horizontal lines on it at the top, right corner
of the Edge browser window which is used to access your favorite websites.
-
Click the ellipsis,
i.e., the "...", at the top, right corner of the browser window and
select Import Favorites.
-
Change "import from" to "Mozilla Firefox" and then click on Import
after deselecting other options, if there are some things like saved passwords
that you don't want to import. If you want to import all of the items selected
by default, just click on Import.
-
When you see "All done," you can click on the Done button and you
can then close the tab (Ctrl-W is one way to close it).
To view the imported bookmarks, click on the star with 3 lines on it to
access the Edge favorites, which are akin to the Firefox bookmarks.
You will see "Other favorites" listed under Favorites; you can click on
the arrowhead to the left of "Other favorites" to see your imported bookmarks.
[ More Info ]
[/network/web/browser/edge]
permanent link
Sat, Apr 10, 2021 5:26 pm
Creating a list that is expandable and collapsible in HTML5
If you wish to make a list that can be collapsed and expanded on a webpage
or a section on the page that can be expanded to reveal more details,
you can use the
details
and
summary
tags with
version
5 of HTML. E.g., the following code allows information to be displayed or
hidden by clicking on an arrowhead that will appear to the left of whatever
appears within the
summary
tags. The information within the
details
tag will be hidden or displayed by clicking on the
arrowhead to toggle between the two options.
<details>
<summary>Overview</summary>
The American Civil War began on April 12, 1865 when South Carolina
militia forces attacked Fort Sumter at Charleston, South Carolina.
The war effectively ended on April 9, 1865 with the surrender by
Confederate General Robert E. Lee to Union General Ulysses S. Grant, but
the president of the Confederacy, Jefferson Davis, did not declare an
end to the insurrection until May 9, 1865. Each side in the
conflict suffered over 800,000 casualties. The principal cause of the
conflict was the issue of slavery within the United States with abolitionists
in the North viewing the practice as a crime against humanity while Southern
slave owners viewed it as a necessary evil or, for some defenders of slavery,
even as a positive good, which they feared would be eliminated under the
recently elected President Abraham Lincoln.
</details>
[More Info]
[/network/web/html]
permanent link
Mon, Nov 16, 2020 7:55 pm
Extracting image files from Google Chrome Cache
I wanted to save a local copy of an image on a webpage I was viewing in
the Google Chrome browser on a Windows 10 system, but I couldn't right-click on
it to download it, so I thought I could look for it in the Chrome browser
cache, which is located at
C:\Users\username\AppData\Local\Google\Chrome\User
Data\Default\Cache
where
username is the name of the relevant
account on a Windows system. I had the
ChromeCacheView
program from
NirSoft on the
system, which provides a command-line option to copy image files from the
Chrome cache for a user, so I used it. Since I was logged into a regular
user account, I
opened a command prompt as the
administrator and then made the working directory the directory where
the ChromeCacheView program was located with
cd C:\Program Files (x86)\Network\NirSoft\ChromeCacheView
. Then
from that directory I issued the command below:
chromecacheview -folder "C:\Users\JohnDoe\AppData\Local\Google\Chrome\User Data\Default\Cache\" /copycache "" "image/png" /CopyFilesFolder "c:\users\johndoe\documents\temp\chrome" /UseWebSiteDirStructure 0
You can use the -folder
option to tell ChromeCacheView which
user's cache file you wish to use while the /copycache
option
can be used to specify the directory where you want images, such as
PNG files,
to be copied—in this case I was looking for a .png file because when I
examined the HTML code on the
webpage I thought that the the image was a PNG file. I created a
temp\chrome
directory under the Documents directory for
the user account prior to issuing the command to hold the images stored
in the cache. After the command completed, I could see all of the PNG
files that had been in the Chrome cache in that temporary directory I
had created.
When I didn't see the image I was looking for, I thought I might have
misidentified it in the code, so I copied all of the image files from the
cache directory, not just the PNG ones by changing "image/png" to
"image" in the command. I.e.:
chromecacheview -folder "C:\Users\JohnDoe\AppData\Local\Google\Chrome\User Data\Default\Cache\" /copycache "" "image" /CopyFilesFolder "c:\users\johndoe\documents\temp\chrome" /UseWebSiteDirStructure 0
That copied
AVIF
(.avif), BMP
GIF (.gif),
icon
(.ico), JPEG (.jpg),
JPEG File
Interchange Format (JFIF) (.jfif),
SVG (.svg),
and WebP (.webp) files from
the cache as well as the PNG ones.
[/network/web/browser/chrome]
permanent link
Sun, Jun 07, 2020 7:58 pm
Resetting a HostGator cPanel Password
If you are hosting a website through
HostGator,
you can take the following steps to reset the
cPanel
password for the HostGator account associated with the website:
- Click on Manage, which is under Hosting Packages.
- Click on Settings.
- Click on Reset Password.
- You will see the username you should use under Username. You
will also see the
fully qualified domain name (FQDN), e.g.,
serverxxxx.hostgator.com, where "xxxx" is a four-digit number, of the
server you will connect to under Server. Or you can use the IP
address shown, instead. Click on Reset Password.
- When prompted for a new password, enter one that is a minimum of 8
characters in length with a mixture of uppercase and lowercase characters
(at least one of each) and which also contains at least one digit and one
special character, such as a dash, exclamation mark, dollar sign, etc. Click
on the Change Password button to reset the password.
[/network/web/services]
permanent link
Wed, Apr 15, 2020 3:07 pm
Unable to type in Microsoft Edge address field
I couldn't type anything in the
Microsoft Edge
address bar where URLs are entered nor could I type in the "Find on page"
field in Edge on a Microsoft Windows 10 system. But in tabs opened to
pages where I might type some input, such as a tab in which I was viewing
a Wikipedia article, I cold type and see what I had typed appear. E.g.,
in the Wikipedia tab, I could search for other Wikipedia articles. And in
the outlook.com tab that was also open, I could compose email messages. I
could also type input into the Microsoft Windows "Type here to search"
field at the bottom of the screen. When I searched online for a
possible resolution to the problem, I found a couple of pages where
people linked it to McAfee antivirus software on the system, but that
isn't installed on the system. I also saw a couple of pages where people
stated that running the built-in Windows
ctfmon.exe program might resolve the problem. I opened a command prompt
and issued the tasklist
command to see if it was already running. It was and when I ran it again
anyway, there was no change to the problem.
C:\>tasklist | find /i "ctfmon"
ctfmon.exe 25000 Console 3 22,444 K
C:\>ctfmon.exe
C:\>
Closing and reopening Microsoft Edge resolved the problem.
[/network/web/browser/edge]
permanent link
Fri, Mar 01, 2019 10:33 pm
Installing the Pale Moon Web Browser on CentOS 7
I wanted to try the
Pale Moon
web browser, which is
free and open-source software (FOSS) on a
CentOS 7
Linux system, but when I tried installing it with
yum, the package was not found.
# yum install palemoon
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos-distro.1gservers.com
* epel: archive.linux.duke.edu
* extras: centos.host-engine.com
* updates: centos.den.host-engine.com
No package palemoon available.
Error: Nothing to do
#
I was able to resolve the problem, by adding the Pale Moon
repository.
[ More Info ]
[/network/web/browser]
permanent link
Shop Amazon Local - Subscribe to Deals in Your Neighborhood
Privacy Policy
Contact