If you want this to be done for all the pages in teh site .. you must implement it via the master page ..
This would ensure that it is hidden from all the pages
we are goind to use jquery . Create a js file in teh layouts folder. and paste the following code in it .
$(document).ready(function(){
$('a[href$="/_layouts/15/viewlsts.aspx"]').each(function()
{ $(this).hide(); });
});
Now in the master page please refer to the js file as shown below in the layouts before the close of body tag.
"script type="text/javascript" src="_layouts/15/customjsfile.js"