Table of content
Web
Web
-
CUEtuning
Get the tool here http://www.mhst.net
Export the stuff to an HTML file of your choice. You'll get a table of content and a nice indented list of all articles.
I merge all of the new addresses into my existing menu files, just as they are numbered by name tags.
Here is an older description if you like to work with DHTML files. Be warned, THIS WILL NOT WOKR WITH OPERA
This is a short description how you can modify the Cuecard-template file to your own needs "DHTML Export Template.htm"
line 10: Own Title
line 54: Own Copyright scheme (new lines in the same codestyle may be implemented here)
line 55: Own Homepage URL (important to escape from the frames)
line 59: Own info in status line
line 64: translate your own hints to expand
line 65: translate your own hints to collapse
BODY section
line : edit to your choice of frame statement
Up to FUNCTION Buildtree replace all occurrences of DataFolder with a grafic-pathspec like "misc/" and move all gifs to that folder, delete them from the target data folder, this keeps the site clean from repetitive files
NOSCRIPT section
line : <META HTTP-EQUIV="REFRESH" CONTENT="0; URL=html/noscript.htm"> Update noscript.htm to your needs and place it in html/noscript.htm. Delete the file from the xxx-dateien directory.
FRAMESET section when already exported
line : change to cols="200,*" sufficient framespace
line : change path to SRC="html/loading.htm" and delete loading.htm from data-directory, edit the standard file in the html directory to suit all your needs
line : change path to SRC="html/welcome.htm" and delete welcome.htm from data-directory, edit as above mentioned.
function BuildTree()
lines: TreeData.Add(new Entry change all strings "Eintrag zeigen" to "Show note"
-
Forums
In general I prefer UBB boards now, as they provide a clearer overview of what subjects have been dealt already with.
My signups are with this signature:
-------
Y0K compliant, counting upwards ;)
Romulus http://www.romulus2.com/
MrC's http://www.mrcs.net/board/mrcubb/cgi-bin/Ultimate.cgi
Cybertechhep http://www.cybertechhelp.com/cgi-bin/ultimatebb.cgi
Snortworld http://snortworld.bla-bla.com/
Frequently I visit:
Regedit http://www.regedit.com/cgi-bin/wwwthreads/wwwthreads.pl?action=list&Board=brdQuestions
Creatives Jukebox http://www.europe.creative.com/jukebox/user/bboard/forum.asp?foru=1
98lite http://www.98lite.net/
VirtualDoc http://www.virtualdr.com/ mostly lurking only
HomeRecording http://homerecording.com/ubb-cgi/Ultimate.cgi
Favourites in the past but recently not much visited anymore:
Host-Club http://www.hostclub.net/ some odd close and open behaviour by the administrator occured
Windows-Help http://www.windows-help.net/ unfortunately turned in to much advertising crap
Epeople former Nowonder mb.epeople.com/cgi-bin/ultimate/Ultimate.cgi this site was closed
Windows98 Annoyances http://www.annoyances.org/win98/features/forum.html
Annoyance Board PrimeConsulting http://www.primeconsulting.com/annoyanceboard/ where I started in forums
Other Forums:
PC911 forum http://www.pcnineoneone.com/cgi-bin/dcforum/dcboard.cgi
-
HTML
-
Frames
This is an invisible basic frame using pixel width
<frameset BORDER=0 SPACING=0 FRAMEBORDER=0 FRAMESPACING=0 rows="64,*" >
<frame name="banner" scrolling="no" noresize target="contents" src="top.htm">
<frameset cols="150,*">
<frame name="contents" target="main" src="side.htm" scrolling="no">
<frame name="main" src="main.htm">
</frameset>
-
MetaTags
Put a description in the "description" <META> tag in the <HEAD>
<META NAME="description" CONTENT="This is the description as the search pages will display it">
Place synonyms in the "keywords" <META> tag in the <HEAD>
<META NAME="keywords" CONTENT="Place a list of related key words here">
Use the "robots" <META> tag.
<META NAME="robots" CONTENT="index,follow">
<META NAME="robots" CONTENT="noindex,follow">
Set it to "noindex,follow" for pages that are not meant for browsing (e.g. navigation frames, help screens, order forms, confirmation
screens).
The best use of <META> tags would be a "description" and a "keywords" tag, combined with a "robots" tag set to
"index,follow" in the start page and "noindex,follow" for every following page.
This would lead to just one entry in the "hit list" for every relevant web site.
-
Redirect
Redirect to a different page automatically.
<meta http-equiv="refresh" content="0; URL=" http://your_URL ">
The same with JavaScript:
<script language="javascript">
<!--
window.location.href=" http://your_URL ";
// -->
</script>
or a Script-function
<body onload="location.replace('http://www.myurl/')">
<center>
<p> <p> <p> <p> <p>
This page should automatically change in 10 seconds.<br>
If it doesn't, click <a href="http://www.myurl/ ">here</a> to continue
</center>
</body>
Caution the scripts can be disabled by the Browser.
This is used to forward visitors of a directory to a place of your choice. Just place the lines on top of a page where you want to have them forwarded to.
-
ReturnButton
There are 2 solutions for it
1)Form type button
<form>
<input type="button" value="Back" onclick="history.back()">
</form>
2)javascript button
<a href="javascript:history.back()"><img src="any_graphic.gif"></a>
-
Sound
Embedding sound on the homepage for all current browsers, whoever wants such suckers:-(
< embed src="http://yourwebpageaddress/whatever.mid" width="16" height="16" autostart=true
loop=true>
<noembed><bgsound src="http://yourweb_pageaddress/whatever.mid" loop=infinite>
</noembed >
-
Javascript
-
Events
Common Events for most browsers
Event ->Occurs when... ->Handler
click ->User clicks on form element or link ->onClick
change ->User changes value of text, textarea, or select element ->onChange
focus ->User gives form element input focus ->onFocus
blur ->User removes input focus from form element ->onBlur
mouseover ->User moves mouse pointer over a link or anchor ->onMouseOver
mouseout ->User moves mouse pointer off of link or anchor ->onMouseOut
select ->User selects form element's input field ->onSelect
submit ->User submits a form ->onSubmit
resize ->User resizes the browser window ->onResize
load ->User loads the page in the Navigator ->onLoad
unload ->User exits the page ->onUnload
-
FrameUpdate
How to update 2 frames at one action:
<SCRIPT LANGUAGE=JAVASCRIPT>
<!--
function fmUpdate(){
top.frame1.location="URL1";
top.frame2.location="URL2";
}
// -->
</SCRIPT>
...
<A HREF="URL1" TARGET=frame1 onClick="fmUpdate();">Update frames</A>
-
Loading
If you have linked pictures to event handlers, they may load slowly eg. with mousevents, as they aren't chached yet and raise a new web-request for loading. To prevent from this you can load them on page opening already with a script.
<SCRIPT LANGUAGE="JavaScript">
pic2 = new Image();
pic2.src = "newpic.gif";
</script>
</HEAD>
<BODY>
<a href="pictures.html" OnMouseover="document.pic2.src='newpic.gif'"
OnMouseout="document.picture.src='oldpic.gif'"><img src="oldpic.gif" border=0 name="My_Pic"
align=center alt="Example for loadings"></a>
<a href="faq.html" OnMouseover="document.faq2.src='faq2.gif'" OnMouseout="document.faq.src='faq.gif'"><img
src="faq.gif" border=0 name="faq" align=center alt="Frequently asked questions"></a>
</BODY>
-
Frames
Caught in a Frame, insert this to your homepage:
<script language="JavaScript">
<!--
if (self != top)
{
parent.location.href=self.location.href;
}
//-->
</script>
-
PopUp
There are several ways to achieve messaging PopUp informations for users of your site.
New Browser
This is how to open a link in a new browser window and take the menu bar (and presumably the other tool bars) off. It acts like the annoying ads-popups, one have to close it separately.
<a href="javascript:window.open('popup.htm', 'Window_title_without_spaces', 'menubar=no,width=600,height=400')"> Link-Description </a>
Alternative New Browser
This is a bit more comfortable to adjust for the users current screen settings
<script language="javascript" type="text/javascript">
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
if(win.window.focus){win.window.focus();}
}
</script>
<a href="http://my_site.com/main.htm"
onclick="NewWindow(this.href,'name','450','500','yes');return false">My Web Page</a>
Alert Box
This is the alert box type for using plain text befor the link is clicked. This requires also an annoying close out click.
<a href="your.htm" onmouseover="alert('your message')">
A really scary example in combination with animated gif (be warned), you'll find in a new window here http://www.webwi.de/fun-Dateien/popup.htm
MouseOver events
You do it by changing an area of the current document, the easiest way is to have several identically sized graphics containing the required text. Make up 2 or 3 files picture1.jpg, picture2.jpg, picture3.jpg (note: start-picture reappears than only by pushing the reload-button, this is useful for some navigation hints). For only little information contents better chose the gif format. Put the default image on the current document with:
<img src="picture1.jpg" name="anyone" height= 50 width=100 border=0>
than a link like (note #nul is used as blind anchor, but you can use also a real link):
<a href="#nul" onmouseover="document.anyone.src='image2.jpg'" onmouseout="document.anyone.src='image3.jpg'">hover here to display infos</a>
Alternatively all in one line where the initial image is the link reference (note: the script commands need to be in the link not in the image-source, this wouldn't work with Netscape):
<a href="#nul" onmouseover="document.images.src='image2.jpg'" onmouseout="document.images.src='image3.jpg'"><img src="image1.jpg" name="images" border="0"></a>
A bit scary example in combination with animated gif (be warned), you'll find in a new window here http://webwi.de/fun-Dateien/HORROR1.HTM
StatusField event
To put some text in the status bar when somebody hovers over a link
<script>
basic_message="My basic message in any case"
window.status=basic_message
</script>
<a href="anyother.htm" onmouseover="window.status='type in a different message'"
onmouseout="window.status=basic_message">
'document.test.src
-
SourceBlocker
Anoyed about a referral from a site you don't like at all?
Send them to hell:-) If you want, delete the alert box, so the referrer has no clue what happened.
<script type="text/javascript" language="JavaScript">
<!--
sourceURL = document.referrer
if (sourceURL != "http://www.yoursite.com") {
alert("You are not allowed to visit from this site");
window.location="http://www.webpagesthatsuck.com";
}
// --></script>
Continous referrals to nested contents can be redirected simply by this general redirection:
<script type="text/javascript" language="JavaScript">
<!--
var requiredfrom = "requiredpage.html"; // the required prev. page
if (document.referrer.indexOf(requiredfrom) == -1) {
alert("You must come to this page from " + requiredfrom);
window.location=requiredfrom;
}
// --></script>
-
Template
Use JavaScript as Template information across several html-files.
The .js file doesn't have to be in the same directory, the src attribute of the script tag also accepts a full URL , but no relative one.
Insert this in all affected pages:
<SCRIPT SRC="something.js"></SCRIPT>
This is a separate file (called: something.js)
document.write('<TABLE WIDTH="500" CELLPADDING="10" CELLSPACING="3" BORDER="3">');
document.write('<TR><TD VALIGN="top"><H2>Topic</H2>');
document.write('<P><B>----------------------------------------- </B>');
document.write('<P>What\'s Cool');
document.write('<P>blablabla');
document.write('<P><A HREF="http://anyURL.com">Any Things</A>');
document.write('</TD></TR>');
document.write('</TABLE>');
Notice that each line starts with: document.write(' - and each line ends with - ');
This is so JavaScript knows the beginning and the end of the line.
If you have to put "the same type" hypen (i.e. ' ) then you must put a backslash in front of it so JavaScript knows it is a "special character" and not the end of the line. Same with a backslash itself (i.e. \\ ) to make the backslash show in the HTML page.
Keep your HTML inbetween the beginning and end tags and you can have a line as long as you want.
-
Cookies
Worried about Cookies?
Clear out all you cookies, than visit all pages of your regular trusted contacts, serve the data as necessary. Than when all done make a backup of your cookies and set your browser to maintain only originall send cookies and reject all others.
In case of trouble wipe out the cookies and reinstall the backup.
Trusted contacts are all those, you visit anyway regulary like the UBB-boards, or certain reliable SW-d/l sites you're checking regulary. The cookies from UBB forums are freshly set when you edit your forum-user-profile, just change anything under interests or so.
To have them stored properly, you must have turned off any Cookie restrictions in your browser, than make the a.m. change and close the browser. This writes the new cookie to your disk.
The relevant data looks like this example:
www.url FALSE 988562830 LastLoginDT 04-29-2000%2011%3A46%20AM
www.url FALSE 988562830 lastLogin 2451664.1146
www.url FALSE 984548894 DaysPrune 5
www.url FALSE 984548894 NameStorage yes
www.url FALSE 988565921 UserName Herb
www.url password
The LastLogin data serve the logic to show the last visited forums/threads.
When you've done, you can reset the browser to allow only originally send cookies again.
Some sites generate problems with their cookies, by placing a lot of bloated informations mainly related to ads stuff, those should be locked out. I'd once a shareware trial (I can't recall the name) which could handle this individually, however if you look inside the things a bit with any editor, you'll see most of them are harmless, but why to have an overflow of them. With IE each one is occupying a cluster, with NS it blows up the cookies.txt anyway the performance gets worse.
I don't think on the size of junk in the first place, moreover the decrease in performance by keeping a big number of cookies and possible conflicts with unproper cookies. The limitation to original stored cookies only, gave me over the time the most reliable NS.
Some of them use reserved windows or browser words (stupid programmers), those definitely crash your surfing any time, and you wonder what happened:(
If you want to see what's on your "cookie" from a website, paste the following script in your URL Window and hit
ENTER :
javascript:alert("Cookie:"+document.cookie)
Here are the Netscape specs for Cookies:
300 total cookies
4 kilobytes per cookie, where the name and the OPAQUE_STRING combine to form the 4 kilobyte limit.
20 cookies per server or domain. (note that completely specified hosts and domains are treated as separate entities and have a 20 cookie limitation for each, not combined)
-
DNS-Lookup
You seem to have lost access to a specific site?
You've probably a DNS-lookup file named HOSTS or LMHOSTS (on networks) without extension in the windows directory which is not updated.
You may have used Net-Acceleration software to manage the DNS-lookup file, you might have tried it once and than uninstalled it, or it's still active.
If they are there without an extension like HOST.BAK or HOST.SYD, they are actively working whenever you connect to the web.
They provide a translation table of numbers like 123.456.789.0 to a corresponding www .anyURL.COM address, thus providing faster access to this site.
If the server-number changes, you normally would not recognize this, as your bookmarks are normally stored as names. The next ISP-server would do the comparism to have the corresponding new number as director at hand. This is time consuming and can be done faster by your own machine for the your favourite sites. If the update isn't recognized by your machine (Acceleration-SW uninstalled or not active)it would point to an invalid address making you thinking the site is gone.
In the first step find the file and just simply rename it by right click rename. See if it is coming back after the next session, this would mean your Acceleration SW is still active. The new created one will be shurely a fresh one with no outdated IP-numbers.
You've to find the application and use it's refreshing function from time to time, or uninstall it. Mostly they place a little icon in the systemtray aside the date, check them out and when found play with it around, you can't make much wrong with it. If uncertain disable it.
However only for advanced users one can edit this file directly, but may hamper it's structure and than it would mess up more or your connections. You may delete complete lines or modify them for your needs.
Note: Some references say all this applies only if your DNS resolution is set active under ctrl panel / network / tcp/ip service /properties /DNS-resolution. I've found this not true, it works always.
CLUE: Ever came across long loading times with advertising banners, check out the server and replace the IP-address with one of your choice.The trick is to disable any ads-url by cheating the DNS-resolution
Just your own homepage would be enough, however this creates a number of error entries in your log-files, so better chose your own PC which is always "127.0.0.1 localhost" and doesn't require a web-querry.
If you give it a reading like "127.0.0.1 www.adsserver.com" the browser doesn't look for the path on the different servers and takes it as an absolute address.
Putting all ads- servers in the same manner one after the other in that file, line separated, it don't find the path's and the grafs stay away.
If you use a proxy, you need to add the name addresses into you manual proxy definition, in the box "Not to use proxy on this URL's". If you don't use a proxy it is also recommended to do so, but I've found no difference in behaviour.
Result is a quite fast loading page.
However if you encounter a page not found, you've to update the IP-address manually than. The above mentioned utilities around do validate only real entries, but they all will remove the cheating entries.
See also this reference http://www.ecst.csuchico.edu/~atman/spam/adblock.shtml
-
Netscape Default
With communicator closed, locate the prefs.js in your
..\netscape\users\(username)\ folder.
Use Notepad to open prefs.js. Scroll to the bottom of all the text. Make sure the cursor is on a new line which does not contain text. Type the following new line EXACTLY as it appears here:
user_pref("browser.wfe.ignore_def_check", false);
Make certain that all the text you type is in lower case and is exactly as it appears above. When you are done, select Save in the File menu and close Notepad.
Open Communicator. The following window should appear:
Navigator is no longer registered to handle Internet Shortcuts. Would you like to register Navigator as your default browser?
Click Yes to make Navigator your default browser.
-
Pics in UBB
Some hints for pictures placed to UBB-forums in the web
See also the description http://www.romulus2.com/articles/guides/putpic/putpic.htm
1.Save a picture as small as possible to give reasonable information about the subject.
Example , someone posts an original with 77KB file gif.
Cropping the pic for the relevant part and using a 40% quality level for the JPG keeps all information and reduces the size to 15KB only.
Reducing the colours and saving it as GIF results in a size of 3,6KB only.
Rezizing the image to an still acceptable format results in 2.5KB.
Try both formats JPG (with compression quality) and GIF to see where you can achieve the smallest acceptable result. Avoid any pictures larger than 600 Pixels in with, larger 40KB in JPG 20KB in GIF. The same applies to Animated GIFs as well. 16colours is fairly sufficient for any informative Picture.
You can achieve all this easily with IrfanView from here http://stud1.tuwien.ac.at/~e9227474/
2. Retention time on your server
If you only temporary intend to keep the picture up better use the full url link method, don't post it via IMG-tag. The URL-picture can be deleted without harming anything.
The IMG-picture will lead to 404-timeouts with extremely long hanging times of the thread if ever called again later (eg. someone is searching across the threads)
If you ever remove an IMG-picture from your server, please be so kind and replace it with a little dot-grafic (same Name and Extension) or go to the original thread and remove the links.
-
Robots
robot.txt can exclude directories from being scanned.
The Robot will simply look for a "/robots.txt" URL on your site, where a site is defined as a HTTP server running on a particular host and port number. For example:
http://w3.org/robots.txt
Also, remember that URL's are case sensitive, and "/robots.txt" must be all lower-case.
The "/robots.txt" file usually contains a record looking like this:
User-agent: *
Disallow: /cgi-bin/
Disallow: /tmp/
Disallow: /~joe/
In this example, three directories are excluded.
What you want to exclude depends on your server. Everything not explicitly disallowed is considered fair game to retrieve.
To exclude all robots from the entire server
User-agent: *
Disallow: /
To allow all robots complete access
User-agent: *
Disallow:
To exclude a single robot
User-agent: BadBot
Disallow: /
To allow a single robot
User-agent: WebCrawler
Disallow:
User-agent: *
Disallow: /
-
Spam
There is a simple trick to avoid spam e-mails from robots checking out your pages. Place a %20 sign in front of your E-Mail address. The mail-client strips it off, but robots can't deal with it so far. They handle it as an invalid argument.
Example: %20Herb@webwi.declick on the link and see how your mail-client handles it.
-
SpeedTest
Why is my Internet connection so slow
Provided you check it at a time where the web is not used very much (weekdays at GMT 05:00-09:00 is the best I estimate, Asia finished work, Europe not yet started, America asleep) you can checkout for:
- your modem is adjusted for it's maximum capability otherwise check for Ispeed at http://www.hms.com
- your real ISP speed, as long as your modem is allowing for higher speeds than promised by the ISP
http://computingcentral.msn.com/topics/bandwidth/speedtest50.asp is an testsite with some advanced features but supports only IE4 and NS4 or higher.
http://homepage.tinet.ie/~leslie/testpage.htm another speadtest giving frames per second
http://www.toast.net/performance/index.html and yet another one
-
Speedrate
There is a lot of misunderstanding around about this subject.
Assume your connection is a 48Kbits/sec. at the modem, this corresponds to a displayed download rate of:
48kbits devided by 8bit/byte+1stopbit = 5,3.. Kbyte/sec at maximum for a normal connection.
If the sending server and your ISP are supporting compression (check settings in DUN) you may achieve up to double the rate with free lines.
Table for some common figures:
Kbit=Kbyte
28=3,1
33=3,7
48=5,3
56=6,2
64=7,1
90=10
128=14,2
To find out the maximum speed what is supported on your line you've to chose the best method to exlude a number of side effects.
The easiest to measure it, is onboard your system. Call the System-Monitor under accessories and set him for dial-up adaptor received and send bytes, two numeric dispays.
Decrease the monitor window to the smallest size that the menubar only is visible.
Move it next to your toolbar.
Chose view and disable the menu, so you'll see only the numeric figures. Any double click on the window will bring back the menu.
Start any ftp-program and make a download or upload from/to a nearby ftp-site, you know of reliable fast speed.
This way you exclude any mishaps of web-traffic via http. FTP is almost very free from server, DNS or traffic problems.
Both numeric figures of the system monitor together at peaking, sum up your maximum achievable connection rate.
Don't have the the browser open that time.
The result you'll find is nearly only driven either by the anlog quality of the line, or the capabilities of your provider .
-
TCPIP
Various sources like http://users.aol.com/axcel216/ and http://www.speedguide.net/ report these settings to improve Internet speed
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP]
"RoutingPackets"="100"
"EnableRouting"="1"
"Tcp1323Opts"=dword:00000003
"SackOpts"="1"
;(string var, recommended setting is 1. Possible settings are 0 - No Sack options or 1 - Sack Option enabled) Selective Acknowledgements, as documented in RFC 2018
"BSDUrgent"="1"
"DefaultRcvWindow"="372300"
;(string var, has to be a multiple of MSS for best results, i.e. (MaxMTU-40) x number... The maximum value of this setting is 2*30, or 1Gb in Windows 98. Recommended settings to try are 372300, 186880, 93440, 64240 and 32120, in that order)
"DefaultTTL"="64"
;(string var, range 1-255, use any number between 32 and 128)
"PMTUDiscovery"="1"
;(string var, boolean, 0-false or 1-true. Many connections perform better with this entry at 1, however, if you prefer to set your upstream to send fixed 1500 packets, you might want to use 0 instead). When set at 1, establishing connections and initial transfer speed might slow down a bit, however you will get better throughput if somewhere in the path large packets need to be fragmented.
"PMTUBlackHoleDetect"="0"
;(string var, zero for optimal performance)
"Tcp1323Opts"=dword:00000003
;(DWORD decimal var, recommended setting is 3. The possible settings are 0 - No Windowscaling and Timestamp Options, 1 - Window scaling but no Timestamp options, 3 - Window scaling and Time stamp options.)
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VXD\MSTCP\Parameters
"MaxDupAcks"=dword:00000003
;(DWORD decimal var, taking integer values from 2 to N. Recommended setting is 3)
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\000n
;(Where "000n" is your TCP/IP protocol. It contains "TCP/IP" assigned to the "DriverDesc" value. "n" can be any number from 0 to 9)
"MaxMTU"="1500"
;(string var) Note: If you're using DSL and your ISP has implemented PPPoE, you must set MaxMTU to 1492 or less.
-
Webspace
http://www.exit.de/ 25MB, nonags so far, a bit sticky sometimes, full ftp
http://www.crosswinds.net/ unlimited space, nonags, access is almost good, ftp is nearly impossible to reach, the frontend upload sucks but is good enough for a few huge files
Not tested so far (because I have sufficient at the moment)
http://www.driveway.com/
http://www.freedrive.com 50MB
© Copyright 1999 - 2001 webwi.de All rights reserved.