Questions tagged [pyxpcom]

3 questions
3
votes
2 answers

Using Java/Python libraries in programming Firefox/Chrome Extensions

I have an idea of studying user behavior on the browser, for which I intend to make a Chrome/Firefox extension to study the behavior dynamically. I have some predefined libraries in Java and Python to analyze the results, which will be impossible to…
Shatu
  • 1,819
  • 3
  • 15
  • 27
2
votes
1 answer

PyXPCOM component not loading in XULRunner

I'm planning to create XULRunner based application that need to interface with Python. The plan is to use PyXPCOM. Currently I'm teaching myself in using PyXPCOM and going through the example component developmnet in Creating a Python XPCOM…
rahmad
  • 98
  • 2
  • 7
1
vote
0 answers

Using Python how to implement nsIContentPolicy shouldLoad()

Everyone is asking about how to implement nsIContentPolicy shouldLoad() with js. But now i'm using python to do that to block the script while loading the pages. shouldLoad() now can be called but not working as i expect. when i return -2, the…
Basil
  • 39
  • 3