Hi all, with some help form the LC forum, I finally had kind of success with this: -------------------------------------------- on browserNavigateBegin pUrl lock screen if pURL ends with ".pdf" then libURLDownloadToFile pUrl, (specialfolderpath("desktop") & "/test666.pdf") go back in widget 1 end if unlock screen end browserNavigateBegin --------------------------------------------- With the line GO BACK IN WIDGET 1 the clicked url will NOT get displayed! Seems the only way to (fake) CANCEL the navigation.
Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass kl...@major-k.de _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode