16,554
社区成员
发帖
与我相关
我的任务
分享
Private Sub W1_DownloadComplete()
Dim i As Long, j As Long
On Error Resume Next
If Len(a) = 0 Then
Dim a As String
a = W1.Document.documentElement.innerHTML
If Len(a) <> 0 Then
Open App.Path & "\tmp.htm" For Output As #1
a = "<body oncontextmenu=" & """" & "return false" & """" & " onselectstart=" & """" & "return false" & """" & " ondragstart=" & """" & "return false" & """" & ">" & vbCrLf & a & vbCrLf & "</body>"
Print #1, a
Close #1
Call W2.Navigate(App.Path & "\tmp.htm")
End If
End If
End Sub