script.js 346 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 define(['jquery'], function($) { return { init: function() { var url= $(location).attr('href'); $('document').ready(function(){ if(url.includes('/mod/hvp/view.php')){ console.log("this is inside hvp"); } }); } }; });