User Portlet User Portlet

Discussions
Here is an example, creating function from it won't be easy if it is meant to be general, but is certainly possible: Internal`InheritedBlock[{Divide}, Unprotect@Divide; Divide[x_, 0] := Inactive[Divide][x, 0]; ...