Google has long been known for its homepage jokes, but on Tuesday it was discovered the search engine has another new trick up its sleeve. Typing "a long time ago in a galaxy far far away" transforms the search results into the iconic scrolling credits of the Star Wars series.

This came just ahead of the premiere of "Star Wars: The Force Awakens," the seventh Star Wars film in the main series. The film is set to premiere on December 14, opening in theaters across the U.S. on December 18.

Google's trick is surprisingly thorough. The user can scroll with their mouse, click the results, highlight text, and even open links in a new tab. But result navigation options are clearly missing from the gimmick. The user can't move past the first page of results, and performing a new search makes the effect disappear.

It's not the first time Google has served up unique search results. Searching "do a barrel roll" will make the entire page twist around, a reference to a line from the 1997 video game Star Fox 64.

Typing in "the answer to life the universe and everything" returns the result "42" in Google's calculator. This is in reference to the "Hitchhikers' Guide" book series by Douglas Adams. Similarly, typing in "recursion" will ask if the user meant "recursion," a play on the meaning of the word.

Other Google products have been known to include their own secrets. Google Maps previously provided directions from "The Shire" to "Mordor," a reference to "The Lord of the Rings." Helpfully, the map directions provided a caution: one does not simply walk into Mordor.