Do they allow computers and searching on a cannabis website in a rehab center?

There are rehab centers, then there are "rehab" at home with your parents. A piss test at home with mom isn't rehab.

Anyways, you're in rehab, so avoid cannabis at this point.