python - A simple webkit window limited to one URL -


i want create python script run gtk window webkit session limited 1 url. i.e. fluid or old mozilla prism. also, need support cookies , https.

something this answer perfect need block access others url different original.

i'm asking python example, examples in other languages useful or examples other toolkits different gtk.

pd: don't know if title or not question, feel free of enhance :)

connect webview's navigation-policy-decision-requested signal , call policy_decision.ignore() if url not 1 wish allow.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -