Do away with the domain: prefix in search
This commit is contained in:
		
							parent
							
								
									baec58fd42
								
							
						
					
					
						commit
						9ac5579ebc
					
				@ -44,7 +44,9 @@ while IFS= read -r DOMAIN; do
 | 
			
		||||
      continue
 | 
			
		||||
    fi
 | 
			
		||||
    echo "{\"current_action\": \"scanning for requests from $DOMAIN...\"}"
 | 
			
		||||
    network_inspector_search "domain:$DOMAIN" # can filter with more granularity: https://developer.mozilla.org/en-US/docs/Tools/Network_Monitor/request_list#filtering_by_properties
 | 
			
		||||
    # network_inspector_search "domain:$DOMAIN" # can filter with more granularity: https://developer.mozilla.org/en-US/docs/Tools/Network_Monitor/request_list#filtering_by_properties
 | 
			
		||||
    network_inspector_search "$DOMAIN" # the "domain:" prefix caused problems, as the GUI forces an autocomplete action. This can be worked around by pressing `ESC`, but if you press ESC when there are NO requests, then the console appears and messes up the layout.
 | 
			
		||||
 | 
			
		||||
    # grab ni_search
 | 
			
		||||
 | 
			
		||||
    count=0
 | 
			
		||||
 | 
			
		||||
@ -158,6 +158,7 @@ load_website(){
 | 
			
		||||
      break;
 | 
			
		||||
    fi
 | 
			
		||||
  done
 | 
			
		||||
  sleep 3 # sometimes the consent modal needs a little time to show up
 | 
			
		||||
  echo "{\"current_action\": \"website loaded\"}"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user