I'm trying to change the URL of a bookmark so that when the user bookmarks a page, it actually bookmarks a different URL that the user must pass through first. Is that possible with javascript or any other languages?
Well you can try to hijack the Ctrl+D
command to bookmark.
Anything farther than that is not really feasible since bookmarking is usually handled by the browser and not the website.