Please Disable Ad-Block To View This Website.

If you block ads, this site can not survive!

Ads are very minimal for registered users. If you don't have an account please register now!

DOWNLOAD
 Full Scripts
 Addons
 Snippets
 DLLs
 MTS Themes
 Tutorials
 Misc.
 File Queue
 Download mIRC
INTERACT
 Screenshots
 Challenge
 Top Downloads
 Submit Form
 Forums

SEARCH
Site Search

FRIENDS
Link to us!
PhotoShelf

Home | Comments:
nHTMLn 2.92 (mIRC Internet Explorer) by Dan
Description:
Unofficial update for nHTMLn 2.9.

Submitted Review Author's Updates
Review
Apparently Necroman has stopped supporting nHTMLn (correct me if I am wrong). The only available version of nHTMLn was 2.9, which had problems with mIRC 6.0x. This DLL update will allow you to have fully working browsing scripts for mIRC 6.0x. @Windows are finally supported again.

While this is an unofficial release, I have had the chance to test it myself, and it works just fine. Anyone having problems attaching to @windows with 2.9 should really consider using this, as it works perfectly.

Reviewed by nix2k
August 14th, 2002:
mIRC 6+ compatibility is now native to nhtmln - no extra functions have to be used.




The "findchild" function has been removed as its no longer required.




Tested with mIRC 5.91, 6.0 and 6.02.
Screenshot:
No
Screenshot
Available

Comments:

  Mode:    Create New Post

K-DOGGJun 6, 2005 4:37PM
can some one help mi with this dll i can`t understand the readme html hoe to load it.Can some one give me a .mrc file who loads the dll :)

[AFX]Jun 6, 2005 4:58PM
I hate people like you. Why? Because the readme is pretty self-explanitory, and I think you haven't read it enough. Then you ask someone "give me a .mrc file who loads the dll :)". Blah, you remind me of one of those Arabic people on DALnet who just demand everything in poor english.

Text edited by author on Jun 6, 2005 @ 5:00PM


K-DOGGJun 6, 2005 5:20PM
you remind me of one of those Arabic people on DALnet
thank you i`m bulgarin on UniBG and jusn i can`t understant the more of the readme that is all.

SSJ4_Son_GokuMar 28, 2005 5:53PM
Uh... simple question for this DLL:

I have it attached to a box in a dialog. Works fine and all.

But how can I change it so I can tab through the website I'm at or being able to press enter? When I press enter it automatically pushes the "Ok" Button in the dialog or when I tab it switches to the Ok button.

Edit: Also, say when you're on www.google.com is there a way to access the source code for that page to search for a url inside the source code?

Text edited by author on Mar 28, 2005 @ 6:04PM


FoLKeN^Mar 28, 2005 7:07PM
the button in the dialog shouldnt be an ok button, if you want it to be clicked when pressing Enter, you should add "default" style to it.

about getting the source code, thats not possible with nHTMLn 2.92. IT IS with nHTMLn 2.95 (by me, see DLL downloads section), you can get the source of body tag (no headers) using something like this:

//dll $html execScript alert(document.body.innerHTML)

the above example will show a msgbox with the code inside <body></body> tags. sorry theres no way to get the entire's document code. At dll's comment section, it is explained how to connect mirc with javascript, using handler function.

anyways, you gave the idea to make another function to get the source code in a more efficient way than this crappy method. thanks :)

Text edited by author on Mar 28, 2005 @ 7:08PM


SSJ4_Son_GokuMar 28, 2005 9:55PM
Well now it doesn't close when I press enter but what I want is when I press enter it does whatever it would do as if I would press enter on the same page in Firefox. So if I press enter and in Firefox it presses the "Submit" button (to log in or whatever) I want it to do the same in the dialog, is that possible? (if you know what I mean)

And you overlooked my question about tabbing through the window.

About the source code... what I want to do is have the script look into the source code to get the URL for a button... but now that I think about it I don't really need to so nvm but glad I gave you a new idea :)

contr0lMar 28, 2005 11:15PM
As far as i know you cant use keyboard keys with nhtml, been asking dan forever to update a couple things. maybe folken can since he has a knowledge of it.
on to the view source...

View Source: ezekiel helped me with this on my web browser. /getcode url

alias getcode .sockopen getcode $gettok($1-,2,47) 80 | %site1 = $gettok($1-,2,47) | %site = $iif($+(/,$gettok($1-,3-,47)),$ifmatch,/)

on *:sockopen:getcode*: { if (!$sockerr) { var %fweb $+(",$scriptdirsrc.txt,") | .fopen -no getcode %fweb | sockwrite -n $sockname GET %site HTTP/1.1 | sockwrite -n $sockname Host: %site1 | sockwrite -n $sockname Connection: close | sockwrite -n $sockname $crlf } }
on *:sockread:getcode*: {
sockread %a
if (*<html* iswm $strip(%a)) || (*<head>* iswm $strip(%a)) { set %ww 1 }
if (%ww) { if ($strip(%a) != $null) { if (!$ferr) { if ($len($strip(%a)) <= 312) { .fwrite -n getcode $strip(%a) } } } }
}
on *:sockclose:getcode*: { if ($fopen(getcode)) { .fclose getcode | unset %ww | if ($lines($s"(src.txt)) == 0) { write $+(",$scriptdirsrc.txt,") Source code couldn't be retrieved. } | run $+(",$scriptdirsrc.txt,") } }

edit: ment to reply to folken

Text edited by author on Mar 28, 2005 @ 11:23PM


FoLKeN^Mar 29, 2005 5:26AM
that way you would be making a socket for something you already have downloaded with the attached browser. but it is valid too.

contr0lMar 29, 2005 9:28AM
tru. wuts up on an upgraded nhtml ? ;)

make it allow you to attach web areas to infinite amnt of windows/dialogs. So i can make a good tabbed browser, and not have to reload each tab each time its activated heh.
along with the keystroke bug.

Text edited by author on Mar 29, 2005 @ 9:30AM


FoLKeN^Mar 29, 2005 9:59AM
you are able to do this with dialogs (not @windows).

mixing it with mdx, all you have to do is call DynamicControl to create another host control (a text control for example) for an attached browser, then assign it a random caption and get the HWND by using nhtmln's find function by specifying that random caption.

SSJ4_Son_GokuMar 29, 2005 7:22PM
Well, I guess that's what I'll have to do!

I just now realized that I do indeed need the source code.. so I guess I'll use this for now

jeffjohnsonAug 14, 2002 4:47PM
hhehehehe

SpionJul 23, 2002 8:31PM
Ok, lets test it ;)
Hehehe



Create New Post

You must be logged in to post messages.