The following example triggers a notification only if no change is detected.


Sub Wsw_BeforeCheck()
   
   ' disable optimizations and always perform a download to compare content
   Bookmark_SetProperty("checkmethod", "content")
   
End Sub

'*******************************************************************************

Sub Wsw_CompareVersions(ByRef $sMemWeb, ByRef $sMemLocal, ByRef $sStatusMessage, ByRef $iStatusCode)
   
   ' Apply the defined filter definitions
   $sMemWeb = Bookmark_ApplyFilter($sMemWeb)
   $sMemLocal = Bookmark_ApplyFilter($sMemLocal)
   
   ' Compare the filtered content
   If $sMemWeb <> $sMemLocal Then
      ' Page is updated -> do NOT mark as changed
      $iStatusCode = 0
   ElseIf $sMemWeb = $sMemLocal Then
      ' Page has not been updated -> mark as changed
      $iStatusCode = 1
   End If
   
End Sub