Next: , Previous: , Up: Hooks   [Contents][Index]


4.3.2 URL retrieve

Add functions to ‘wwe-url-retrieve-functions’ to do something based on the requested URL such as call ‘wwe-url-retrieve’ with an altered URL or use a different browser with the requested URL.

Some examples of what to run on ‘wwe-url-retrieve-functions’:

You can use a combination of retrieve and callback hooks to make powerful plugins.

Each function should take the following arguments:

Functions are called with ‘run-hook-with-args-until-success’, so if no other function is supposed to run after a certain function did its job, that function should return t. Otherwise return nil. Note also the order in which functions are called.