Git Product home page Git Product logo

wcgbrowser's People

Contributors

alandmoore avatar hunternet93 avatar jeremyjackson89 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wcgbrowser's Issues

Printing not possible

There is a bug in print_webpage method.
self.print_settings is not set. I think it has to be replaced by self.config.get("print_settings").
I currently fixed it quick&dirty by setting self.print_settings = self.config.get("print_settings") and changing some ifs

problem detecting user activity using Clicky Analytics

In order to trace the activity on the kiosk i use Click...
Seems like the browser has problems logging the visitors activity.
The Spy option seems to work and i can see in real time how the kiosk perform or the activity on screen but it is a bit pity that all this things cannot be logged.

Do you think that is a problem it can be solved?

QUOTA_EXCEEDED_ERR: DOM Exception 22: An attempt was made to add something to storage that exceeded the quota.

The error in the subject line is preventing the documentation for Ext JS 4.2.1 (http://docs.sencha.com/extjs/4.2.1/) from loading...

python browser.py -d -l http://docs.sencha.com/extjs/4.2.1/

2014-02-13 23:13:35:: No config file found or specified; using defaults.
2014-02-13 23:13:35:: loading configuration from 'None'
2014-02-13 23:13:35:: {}
2014-02-13 23:13:35:: build_ui
2014-02-13 23:13:35:: Namespace(DEBUG=True, allow_external_content=False, allow_plugins=False, allow_popups=False, config_file=None, debug_log=None, default_password=None, default_user=None, icon_theme=None, is_fullscreen=False, no_navigation=False, proxy_server=None, timeout=0, url='http://docs.sencha.com/extjs/4.2.1/', window_size=None, zoomfactor=0)
2014-02-13 23:13:35:: loading http://docs.sencha.com/extjs/4.2.1/
2014-02-13 23:13:35:: Request URL: http://docs.sencha.com/extjs/4.2.1/
2014-02-13 23:13:35:: Load URL http://docs.sencha.com/extjs/4.2.1/
2014-02-13 23:13:36:: Javascript Error in "undefined" line 0: QUOTA_EXCEEDED_ERR: DOM Exception 22: An attempt was made to add something to storage that exceeded the quota.
2014-02-13 23:13:36:: Javascript Error in "undefined" line 0: QUOTA_EXCEEDED_ERR: DOM Exception 22: An attempt was made to add something to storage that exceeded the quota.

Framebuffer

I'm setting up a very simple kiosk on a pi and was wondering if wcg would work using the Linux framebuffer directly to output on an lcd. I can run x but if possible it would be nice to not have this overhead.

No browser reset if navigation bar is disabled.

Traceback (most recent call last):
File "browser.py", line 346, in reset_browser
self.removeToolBar(self.navigation_bar)
AttributeError: 'MainWindow' object has no attribute 'navigation_bar'

wcgbrowser.yaml example

start_url: "http://www.sitename.com"
timeout: 60
timeout_mode: "reset"
allow_plugins: True
fullscreen: True
navigation: False
allow_printing: True

page_unavailable_html: "examples/custom404.html"

network_down_html: "examples/custom_network_down.html"

How to reopen popup screen again

Hi Friend,

Thanks for give us wonderfull coding for browser (what i expect). i am new to python.

  1. closed popup screen not reopen again.

qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 5413, resource id: 19837004, major code: 40 (TranslateCoords), minor code: 0

  1. How to enable print window.
  2. Need book mark in list view (open on click).
  3. Custom url text box.

Qt5: call for testers

The qt5 branch contains code that, as of the latest commit, should be compatible with pyqt5, pyqt4, and pyside for qt4. It "WorksForMe"โ„ข, but I'm asking any other interested parties to test this branch against their own configurations and platforms.

Thanks in advance for your help.

REQ Always open anchors in same window, despite target=_blank

Great project! I just used this browser to create a kios mode.

What i have so far is xorg without window manager and just this browser.
But with popups on a system without a window manager is of course a bit of a mess...

Is it possible to open _blank or _new a hrefs just like if they were normal links?
So they open up in the same window.

PyQt4 Windows

On Windows, using the program as is with Qt5 works well, instead using Qt4 launch the exception:

usage: browser.py [-h] [-l START_URL] [-f] [-n] [-c CONFIG_FILE] [-d]
[--debug_log DEBUG_LOG] [-t TIMEOUT] [-i ICON_THEME]
[-z ZOOMFACTOR] [-p] [-u DEFAULT_USER] [-w DEFAULT_PASSWORD]
[-e] [-g] [--size WINDOW_SIZE] [--proxy_server PROXY_SERVER]
browser.py: error: unrecognized arguments: C:"mypath"/wcgbrowser/browser.py

using -c wcgbrowser.yaml don't change the situation. What's the matter?

Edit: it doesn't works with any optional flag or withuout flag

Testing config_refactor branch

I'm massively refactoring the way configuration is parsed and passed around in the program. Instead of various options being loaded in here-and-there with defaults spread through the program, a single configuration object is generated from a method of the MainWindow class. Defaults for all config settings are specified in one big dict.

The config object is just passed around between MainWindow and other classes that need it, and accessed when needed.

The config file format shouldn't change at all, but obviously this could break things in subtle ways, so any help testing against this branch with your configs would be a wise investment on your parts. Thanks.

Qt5 import error Qt4 import error

I'm on Ubuntu and I'm trying to run browser (I had first to run pip install pyyaml), but I get the following error:

Qt5 import error
Qt4 import error

Screenshot at 2019-10-27 16-01-11

How to fix it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.