Insert css into new app in browser


using this plugin I can insert css / script liike

      $rootScope.$on('$cordovaInAppBrowser:loadstart', function(e, event){
//alert('debug') // ok
            code: 'body {background:blue!important;}'

but in my experience the opened site doesn’t have any changes. Is the css inserted into the new window or inserted into our ionic app?


change loadstart to loadstop, otherwise it won’t be worked.