prerender.io isn't the single alternative. Another one thing you could do, is prerender your pages with PhantomJS and cache them, with things like this or this.
To make some text selectable and some unselectable you have to add a script in your blog that will disable all click after that store your codes which you want to be selectable on google drive then embed them in your posts. Its the best way to do so. Though helplogger has done it but if an experienced person wants he can copy all the content of the page by ...
Top 50 recent answers are included