0

I have written a Python script that analyzes web URLs to warn the user if a URL that has been entered in a browser is a phishing website. I'm looking to implement this script somehow into Google Chrome. All the script needs to do is get the URL that a user has entered in Google Chrome. I am wondering if anyone can suggest a simple way to do this. Thanks!

kcull
  • 11
  • 2

1 Answers1

0

Assuming this is Google Chrome-specific, you could write a chrome extension and utilize the activeTab permission (which allows you to read the URL bar).

The issue is that your program is written in python (chrome extensions are javascript), but there are possibilities such using a python-to-javascript compiler as suggested here and here.

Community
  • 1
  • 1
Noam Hacker
  • 4,671
  • 7
  • 34
  • 55
  • I found these articles as well: [1](https://pythonspot.com/create-a-chrome-plugin-with-python/) and [2](https://www.quora.com/Can-I-make-a-Google-Chrome-extension-using-Python) – Noam Hacker Mar 21 '16 at 20:21