²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²² ²² ____ __ __ ²²ßÛ ²² / _/_ _ __ _ ___ ____/ /____ _/ / ²² ÛßÛ ²² _/ // ' \/ ' \/ _ \/ __/ __/ _ `/ / ²² Û Û ²² /___/_/_/_/_/_/_/\___/_/ \__/\_,_/_/ ²² Û Û ²² ____ __ __ ²² Û Û ²² / __ \___ ___ _______ ___ ___/ /__ ____ / /____ ²² Û Û ²² / /_/ / -_|_- Well, we don't really want this, do we? So in this tutorial I will make a utility that lets you change the titlebar. First things first, run the program and make a small popup. Check it out with the test page. Ugh, it says the stupid titlebar thing along with "Click here to get your own copy". We don't want this. Open up the file "popup.js" and you will see the following line: var pmht = String.fromCharCode(80,111,112,45,85 ... ) If we work some of these characters out we'll start to see something ugly: P . o . p . - . U . p ... Now we know what to change in the individual file, but what if we want to change it in every file that we save? Well, open up the program's system file "menu.js". Since we're most likely going to see the word "Pop-Up" many times within this file, search for Lefteris. After passing the commented header, you see this: document.all['popl'].innerHTML="Pop-Up by
Lefteris Haritou" This looks like what we need to change. Change it to whatever you want...I changed mine to my web site, " http://muad.cjb.net " Make a new popup and check it out. BAH! It doesn't work! Now we've gotta find out why. Search through the files a little bit and we see a file called "popup.js" in the directory "popfiles". Open it up and we see the same line as before: var pmht = String.fromCharCode(80,111,112,45,85 ... ) Well, it looks like we need to change this...It would be a pain in the ass to do this by hand, so let's get HarvestR's T2VC (Text to Values Converter). I am, of course, going to use http://muad.cjb.net as my titlebar (with spaces on each side to make it look good). The T2VC shows this: 32 104 116 116 112 58 47 47 109 117 97 100 46 99 106 98 46 110 101 116 47 32 Well now that we've changed it and converted the spaces to commas, lets try it. It still says "Pop-Up by..." on the preview until you do a first change but now when we save it, it works! Now lets change the little "Click here to get your own copy" thing. I'm going to do a "break out of frames" thing. var pmha = String.fromCharCode(104,116,116,112,58 ... ) is our URL var pmhl = String.fromCharCode(67,108,105,99,107 ... ) is our caption I'm going to do "Go Home (New Window)": 71 111 32 72 111 109 101 32 40 78 101 119 32 87 105 110 100 111 119 41 And "http://muad.cjb.net": 104 116 116 112 58 47 47 109 117 97 100 46 99 106 98 46 110 101 116 We've still got a few more problems though. The initial preview still says that our frend Lefteris is the author...Gotta be changed. Also, it says on the first screen that it is the freeware version. Lets change that too. Search for the string "Pop-Up by" in windows find within the PMC directory and you'll see these files: freeware.html main.html color.html h5.html I'll tell you that we need to change the files "main.html" and "color.html". Just search through the files and replace the correct things. Next, we want to change the startup screen to say "Registered to:". Search for freeware and you see a lot of files. The most likely is "index2.html". That's the correct file! Change the text. Mine now says: Registered to: Muad'Dib Now try your work out and make some leet web pages! ******************* IMPORTANT ******************* END NOTE: Hey FUCKWADS, I'm almost POSITIVE this tut will be ripped and the program will be released as soon as this tut is so if you're gonna be a fucking lameass and rip it, at least give me credit. Don't be a fuck-doggy. Also, this program is VERY useful and should definately be registered. It looks as if the author put a lot of time into it, thought it could use a few improvements like opening of old menus. So register it if you use it. -Muad'Dib 4/13/2000