That method is no longer possible and I don't believe there is a workaround at the moment.
However, I would question the entire approach as it seems hackish to me. For example, what's preventing someone from accessing the Recycle Bin by directly navigating to the URL of the page?
Firstly you should manage the permissions related to the Recycle Bin correctly:
- To view and recover your deleted records: “Read” on the records in the Recycle Bin
- To view and recover records deleted by other users: “Modify All Data”
- To recover deleted public tags: “Tag Manager”
- To purge the Recycle Bin: “Modify All Data”
The full article is here.
If you absolutely must hide records after they enter the Recycle Bin there are better options available. For example:
- Create a trigger on the necessary objects which prevent them from being undeleted
- Create a trigger on the necessary objects which updates the record ownership when they are deleted, making the record owner a private user / queue etc.