Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

177
Views
cómo usar el proxy en la extensión de Chrome en un dominio específico en la regla singleProxy

Después de hacer clic en el botón Establecer proxy, mi proxy de socks5 se configurará, pero ¿cómo puedo obligar al navegador a usar el proxy para dominios específicos, como site.com ? tenga en cuenta que quiero usar fixed_servers y la regla singleProxy . Configuré mi configuración de proxy de la siguiente manera, ¡pero funciona en cualquier dominio...!

manifiesto.json

 "permissions":["tabs","proxy"]

emergente.js

 $('#btnSetProxy').click(function () { var config = { mode: "fixed_servers", rules: { singleProxy: { scheme: 'socks5', host: '192.168.1.25', port: 7598 }, bypassList: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "<local>"] } }; chrome.proxy.settings.set( {value: config, scope: 'regular'}, function() {}); });

ventana emergente.html

 <!DOCTYPE html> <html> <head> <script src="js/popup.js"></script> <link rel="stylesheet" href="css/popup.css"> </head> <body id="secbody" class="dirrtl"> <button type="button" id="btnSetProxy">Set Proxy</button> </body> </html>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!