Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Do
Find "facebook","[URL unfurl="true"]https://www.facebook.com"[/URL]
Pause("1")'waiting for 1 minute and repeat the action
Loop
Function Find(StrString,URL)
Titre = "Find a String in a webpage"
'URL = "[URL unfurl="true"]https://www.facebook.com"[/URL]
Set ie = CreateObject("InternetExplorer.Application")
Set objFSO = CreateObject("Scripting.FileSystemObject")
ie.Navigate(URL)
ie.Visible = 1
DO WHILE ie.busy
wscript.sleep 100
LOOP
Data = ie.document.documentElement.innertext
Set ie = Nothing
Set objRegex = new RegExp
objRegex.Pattern = StrString
objRegex.Global = False
objRegex.IgnoreCase = True
Set Matches = objRegex.Execute(Data)
For Each Match in Matches
MsgBox "We found this word : " &vbCr& qq(Match.Value) & "in " & URL,64,Titre
Next
End Function
Function qq(strIn)
qq = Chr(34) & strIn & Chr(34)
End Function
Function Pause(NbMin)
wscript.sleep NbMin*1000*60
End Function
Do
Find "facebook","[URL unfurl="true"]https://www.facebook.com"[/URL]
Pause("5")'waiting for 5 minutes and repeat the action
Loop
Function Find(StrString,URL)
Titre = "Find a String in a webpage"
'URL = "[URL unfurl="true"]https://www.facebook.com"[/URL]
Set ie = CreateObject("InternetExplorer.Application")
Set objFSO = CreateObject("Scripting.FileSystemObject")
ie.Navigate(URL)
ie.Visible = false 'run ie in the background
DO WHILE ie.busy
wscript.sleep 100
LOOP
Data = ie.document.documentElement.innertext
Set ie = Nothing
Set objRegex = new RegExp
objRegex.Pattern = StrString
objRegex.Global = False
objRegex.IgnoreCase = True
Set Matches = objRegex.Execute(Data)
For Each Match in Matches
MsgBox "We found this word : " &vbCr& qq(Match.Value) & "in " & URL,64,Titre
Next
End Function
Function qq(strIn)
qq = Chr(34) & strIn & Chr(34)
End Function
Function Pause(NbMin)
wscript.sleep NbMin*1000*60
End Function