Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox on Linux does not work #1

Open
kfirlavi opened this issue Nov 29, 2012 · 10 comments
Open

Firefox on Linux does not work #1

kfirlavi opened this issue Nov 29, 2012 · 10 comments

Comments

@kfirlavi
Copy link

Hi,
when i'm on the page http://jacqueminv.github.com/rkrace-bookmarklet/, pressing on the link rkrace-bookmarklet, does work, and opens a small window that say I'm not on a race page of runkeeper.
But when saving the link to a bookmark, the bookmark doesn't execute.
It seems that firefox adds %20 in the code, and maybe this creates problem. But also copy and paste from the link to the url line, doesn't help.
When executing it on ExecuteJS I get this error: TypeError: document.body is undefined

It seems to me that the problem is you created this code on Windows Explorer. Can you check the code on firefox please.

Thanks,
Kfir

@kfirlavi
Copy link
Author

But then, on your page It does work when I press the link.

@jacqueminv
Copy link
Owner

when saving the link to a bookmark, the bookmark doesn't execute.

do you get any error or message in the console?

@kfirlavi
Copy link
Author

Yes, nothing happens when pressing the bookmarks.
On Nov 29, 2012 11:30 AM, "Valentin Jacquemin" [email protected]
wrote:

when saving the link to a bookmark, the bookmark doesn't execute.

do you get any error or message in the console?


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-10840397.

@jacqueminv
Copy link
Owner

Nothing in the console?

I probably have to setup a Linux VM then.
Which Linux distro and what version of Firefox please?

@kfirlavi
Copy link
Author

When running the bookmark I get nothing. No error is reported by Firefox.
When copy the code to the ExecuteJS I get this error: TypeError: document.body is undefined
I'll try to check more and reply.

Kfir

@jacqueminv
Copy link
Owner

When running the bookmark I get nothing. No error is reported by Firefox.

Please give me the Linux distro and version and firefox version so that I can debug.

When copy the code to the ExecuteJS I get this error: TypeError: document.body is undefined

I don't know ExecuteJS but the error suggests that the javascript code is not run within the browser page.

@kfirlavi
Copy link
Author

Ok,
Firefox doesn't seem to allow running javascript code from the url line or a bookmark. This is why I'm using Firefox extention ExecuteJS.
There is a radio button in ExecuteJS 'Content Window' that cause the code to run on the page. So now I'm running the code from ExecuteJS console, when on Runkeeper race map, but all I get is the icon that says I'm not on Runkeeper race page.
This is an improvement. The code is certainly running, but doesn't recognize it is on a map page.

@jacqueminv
Copy link
Owner

If you want me to help, give me the Linux distro and the Firefox version because it works on my Mac on Firefox.

@kfirlavi
Copy link
Author

I'm running firefox 16.0.2 on Gentoo system. Ubuntu will work just fine ;-) I have No script and Adblock+ extensions active.

@jacqueminv
Copy link
Owner

Before I setup anything, is it possible that No script extension is simply blocking the script? Could you have an another try after having disabled it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants