Next: Page ready, Previous: URL callback, Up: Hooks [Contents][Index]
You can change the HTML source code before rendering by adding to the hook ‘wwe-change-html-functions’. This hook is run only when the page is to be rendered as HTML.
Some examples of what to change in HTML:
Each function should take one argument, the current URL as parsed by ‘wwe-parse-url’.
The original source code as sent by the server is set to ‘wwe-source’. This hook is run every time you call ‘wwe-show-source’, ‘wwe-rerender’, or ‘wwe-save-source’. If you’d like to see the original page without changes, type ‘C-u’ before calling any of those functions.