Giter Club home page Giter Club logo

wpaana's People

Contributors

precz avatar timretout 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

Watchers

 avatar  avatar  avatar

wpaana's Issues

XML Parsing Error: undefined entity

I tried wpaana on a ubuntu VM and I get this error as a pop up.

XML Parsing Error: undefined entity
Location: chrome://mozapps/content/downloads/unknownContentType.xhtml
Line Number 33, Column 29:

&intro2.label;/descritpion>
--------------------------^

I also get the following message in the terminal.

javascript error resource //gre/modules/sessionStore Functions.jsm line 105

User-Agent string does not indicate Firefox compatibility

The wpaana user agent out of the box is this (on my machine):

Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 wpaana/0.1

This does not mention Firefox, so causes lots of sites which do user-agent sniffing to change their behaviour. For example, google.com looks completely different.

There is a compatibility setting to address this, which could be added to prefs.js:

pref("general.useragent.compatMode.firefox", true);

This sets my UA string to:

Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0 wpaana/0.1

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent/Firefox#General_form

DRM

Is there any way to enable DRM? I tried about:preferences as url and appended prefs.js from my profile to runner/preferences/prefs.js. Still without success.

Problem with debugging

https://bugzilla.mozilla.org/show_bug.cgi?id=1244163

These are the steps we performed with firefox 51 developers edition

  • cd /opt/firefox_dev_51
  • mkdir /tmp/omni
  • cp browser/omni.ja /tmp/omni/
  • cd /tmp/omni/
  • unzip omni.ja
  • cp -r chrome/devtools /tmp/myapp/chrome/
  • cp components/interfaces.xpt /tmp/myapp/components/
  • cp -r chrome/en-US/locale/en-US/devtools /tmp/myapp/chrome/locale/
  • Update myapp chrome.manifest and add these lines
locale devtools en-US chrome/locale/devtools/client/
locale devtools-shared en-US chrome/locale/devtools/shared/
content devtools chrome/devtools/content/
resource devtools chrome/devtools/modules/devtools/
interfaces components/interfaces.xpt

Then in our code that starts the debug server we have...

debugger: function (portOrPath) {
	try {
		const { devtools } = Cu.import("resource://devtools/shared/Loader.jsm", {});
		const { DebuggerServer } = devtools.require("devtools/server/main");

		if (!DebuggerServer.initialized) {
			DebuggerServer.init();
			DebuggerServer.allowChromeProcess = true;
			DebuggerServer.addBrowserActors("myapp");
		}

		let listener = DebuggerServer.createListener();
		listener.portOrPath = portOrPath;
		listener.open();

		dump("Debugger server started on " + portOrPath + "\n");
	} catch (e) {
		console.log(e);
		Cu.reportError(e);
	}
}

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.