You are not logged in.

#26 2011-03-31 01:18:04

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: jumanji - a web browser

skottish wrote:

<snip>
No history:

set private_browsing true

For session cookies, symlink the cookies file to /dev/null

Thanks for the tip, skottish; much appreciated!

Offline

#27 2011-03-31 16:48:00

specnaz
Member
From: Poland
Registered: 2010-11-14
Posts: 9

Re: jumanji - a web browser

How can one use bookmarklets with jumanji??
Like readability or readable ??

Also, how can I bind a key to run bash script directly from jumanji ?? I have this script which I found somewhere on net, and it opens url from history in firefox:

#!/bin/bash
file=$HOME/.local/share/uzbl/history
goto=`awk '{print}' $file | $DMENU`

file=$HOME/.local/share/uzbl/history
[ -r "$file" ] || exit
COLORS=" -nb #000000 -nf #ffffff -sb #333333 -sf #ffffff"
if dmenu --help 2>&1 | grep -q '\[-rs\] \[-ni\] \[-nl\] \[-xs\]'
then
 DMENU="dmenu -b -i -xs -rs -l 10 -fn '-adobe-helvetica-bold-r-normal--14-*-*-75-p-*-iso8859-*' " # vertical patch
 # show tags as well
 goto=`$DMENU $COLORS < $file | awk '{print $1}'`
else
 DMENU="dmenu -b -i -fn -adobe-helvetica-bold-r-normal--14-*-*-75-p-*-iso8859-*"
 
 # because they are all after each other, just show the url, not their tags.
 goto=`awk '{print $3}' $file | $DMENU $COLORS`
fi

[ -n "$goto" ] && firefox $goto

How can I get this running in jumanji??


Recitar! Mentre preso dal delirio, non so più quel che dico, e quel che faccio! Eppur èd'uopo, sforzati!
Bah! Sei tu forse un uom?
Tu se' Pagliaccio!

Offline

#28 2011-04-01 20:49:11

flashwei
Member
Registered: 2011-04-01
Posts: 1

Re: jumanji - a web browser

Does anyone have the problem with cookies? Each time I reopen jumanji and go to gmail, I have to enter the user/pass again.

Thanks!

Offline

#29 2011-04-02 08:03:53

specnaz
Member
From: Poland
Registered: 2010-11-14
Posts: 9

Re: jumanji - a web browser

I tried few tricks with readable and I'm not happy with result. Results are spotty at best.
I bound key  stroke combination:

map <S-a> script ~/.config/jumanji/scripts/readable.js

Albeit, I can't tell if this binding does anything. I suppose it doesn't.

Also I added to jumanjirc

script ~/.config/jumanji/scripts/readable.js

  and the result is that it fires up readable on (almost) every new tab. Even on google.com it tries to readable it. big_smile
It's not  pretty nor kosher.

For now I'm out of ideas how to make it running by key stroke combination.

I solved bash script issue ....  kinda. I use window manager to execute it.


Recitar! Mentre preso dal delirio, non so più quel che dico, e quel che faccio! Eppur èd'uopo, sforzati!
Bah! Sei tu forse un uom?
Tu se' Pagliaccio!

Offline

#30 2011-04-13 12:42:25

lives2evil
Member
From: GMT+7
Registered: 2010-03-21
Posts: 244

Re: jumanji - a web browser

I had some problem with hints.js. When I try to follow a javascript link, it fails, and onclick events is not handled at all.
Here's my fix:
replace the function evaluate with

function evaluate(element) {
  var ret;
  var e = element.element;
  var tagname = e.tagName.toLowerCase();


  if (tagname && (tagname == "input" || tagname == "textarea") ) {
    var type = e.type.toLowerCase();
    if (type == "radio" || type == "checkbox") {
      e.focus();
      click_element(element);
    }
    else if (type == "submit" || type == "reset" || type  == "button") {
      click_element(element);
    }
    else {
      e.focus();
    }
    clear();
  }
  else {
      if(e.getAttribute('onclick') ||
              e.getAttribute('onmousedown') ||
              e.getAttribute('onmouseup') ||
              e.getAttribute('oncommand'))
      {
          click_element(element);
          clear();
      }
      if (e.href.substring(0,10).indexOf('javascript') != -1)
      {
          var js = e.href.substring(e.href.indexOf(':') +1);
          eval(js);
          clear();
      }
      else
          ret = e.href;
  }
  return ret;
}

Last edited by lives2evil (2011-04-13 13:08:15)


tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ

Offline

#31 2011-04-13 13:11:14

lives2evil
Member
From: GMT+7
Registered: 2010-03-21
Posts: 244

Re: jumanji - a web browser

Also, I don't know why but flash plugin doesn't work. It's not much of a trouble though.
I used x86_64, flashplugin-prerelease from AUR. (official package doesn't work either).


tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ

Offline

#32 2011-04-13 18:30:55

mlq
Member
Registered: 2011-03-15
Posts: 171
Website

Re: jumanji - a web browser

Hello,

Thank you for the patch, I applied it on the script on the website. Regarding your flash problem: Have you tried it with any other webkit browser to be sure that it is a jumanji issue and not a webkit issue?

Best regards

Offline

#33 2011-04-13 19:16:25

lives2evil
Member
From: GMT+7
Registered: 2010-03-21
Posts: 244

Re: jumanji - a web browser

Yes, I have, it works with midori, and luakit.
However, the issue only happern with libwebkit1.3, it works just fine when I downgraded to libwebkit1.2.
So it's nothing trouble at the moment.

Thanks for your answer.
PS: libwebkit-1.3 is in testing, so I guess I can't complain. big_smile

Last edited by lives2evil (2011-04-13 19:18:36)


tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ

Offline

#34 2011-04-14 23:12:11

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 664

Re: jumanji - a web browser

Yeah, I had to install dwb to use just for flash related content, but thanks for the heads-up on the libwebkit-downgrade jumanji fix!

Last edited by mhertz (2011-04-14 23:15:51)

Offline

#35 2011-04-15 05:48:09

mlq
Member
Registered: 2011-03-15
Posts: 171
Website

Re: jumanji - a web browser

Hello

mhertz wrote:

Yeah, I have to install dwb to use just for flash related content, as jumanji dosen't work like stated above. dwb works just fine with libwekbit 1.3

Since you have never really specified what 'does not work' mean: Have you disabled the plugin blocker?

Best regards

Offline

#36 2011-04-18 06:32:26

numbchild
Member
Registered: 2010-05-22
Posts: 17
Website

Re: jumanji - a web browser

I need an hints script , not character , I need number hints like 12 etc. thanks in advance .
Actually I advise that developer can make a page for user to upload their script so that new user can download them . just like awesome WM did .


Hack
Like computer , code , linux , hack .

Offline

#37 2011-04-18 06:58:41

lives2evil
Member
From: GMT+7
Registered: 2010-03-21
Posts: 244

Re: jumanji - a web browser

The hints script has a number mode, open it and you will see.
There's some color customization too.


tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ

Offline

#38 2011-04-18 06:59:34

mlq
Member
Registered: 2011-03-15
Posts: 171
Website

Re: jumanji - a web browser

Hello,

numbchild wrote:

I need an hints script , not character , I need number hints like 12 etc. thanks in advance .
Actually I advise that developer can make a page for user to upload their script so that new user can download them . just like awesome WM did .

Just change the line

hint_style = 'letter';

in the script that is offered on our website to something else.

Best regards

Offline

#39 2011-04-18 07:49:15

numbchild
Member
Registered: 2010-05-22
Posts: 17
Website

Re: jumanji - a web browser

Just change the line

hint_style = 'letter';

in the script that is offered on our website to something else.

Best regards

I download the script at the first page of this post , And I can not find any script on pwmt site. By the way , how to change hint_style="letter" into 12 number style ? change "letter" into "number" ?


Hack
Like computer , code , linux , hack .

Offline

#40 2011-04-18 08:09:24

mlq
Member
Registered: 2011-03-15
Posts: 171
Website

Re: jumanji - a web browser

Hello,

numbchild wrote:

I download the script at the first page of this post , And I can not find any script on pwmt site. By the way , how to change hint_style="letter" into 12 number style ? change "letter" into "number" ?

https://pwmt.org/projects/jumanji/scripts/

Yes, just change the name.

Best regards

Offline

#41 2011-04-18 22:27:53

Cristhyano
Member
Registered: 2011-04-18
Posts: 16

Re: jumanji - a web browser

Just some thoughts. Jumanji should use the webkit-gtk native download like the luakit browser instead of wget. Wget seems to handle badly some websites like 4shared, megaupload. It ends the download right in the beginning.
And i have another question. Why browsers like Midori and Luakit that is based on webkit-gtk handles some websites badly. Here in Brazil we use a lot of orkut instead of facebook. In Jumanji i get the new orkut interface, in midori and luakit the interface is the old one because it says that the browser doesn't support it.

Offline

#42 2011-04-19 00:40:00

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 664

Re: jumanji - a web browser

mlq wrote:

Hello

mhertz wrote:

Yeah, I have to install dwb to use just for flash related content, as jumanji dosen't work like stated above. dwb works just fine with libwekbit 1.3

Since you have never really specified what 'does not work' mean: Have you disabled the plugin blocker?

Best regards

Sorry, I was just replying to the previous poster which reported flash not to work...

Stupidly, I haden't thought about explicitly disabling the plugin-blocker as that might be the issue instead of flash(as you hinted), and sure enough ':set plugin_blocker false' fixes this "flash" issue completelly!

Thanks again for the help, much appreciated, mate!

Offline

#43 2011-04-19 13:08:25

numbchild
Member
Registered: 2010-05-22
Posts: 17
Website

Re: jumanji - a web browser

I found that I can not save session .
For example:  I type command :sessionsave kk  ; then I Ctrl-q to close jumanji , restart jumanji , type command: sessionload kk . but nothing happened after that . confused what does the session do .


Hack
Like computer , code , linux , hack .

Offline

#44 2011-04-19 14:40:51

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: jumanji - a web browser

numbchild wrote:

I found that I can not save session .
For example:  I type command :sessionsave kk  ; then I Ctrl-q to close jumanji , restart jumanji , type command: sessionload kk . but nothing happened after that . confused what does the session do .

 :ssa <session name> 

will save your session;

 :sl <session> 

will load a session;

 :ssw <session> 

will switch to a different session.

Offline

#45 2011-04-19 15:05:10

numbchild
Member
Registered: 2010-05-22
Posts: 17
Website

Re: jumanji - a web browser

 :ssa <session name> 

will save your session;

 :sl <session> 

will load a session;

 :ssw <session> 

will switch to a different session.

yeah, It can save , load and switch session when the jumanji is running . But when I quit jumanji , Then "restart" it , then it can not load that session anymore . Actually I want to make a function like this: I write some automatic executed command in jumanjirc to let it execute at jumanji's startup loading the last session that I viewed last day . It can save me work to reopen them again . and I will lose some  pages that I do not want to bookmark .


Hack
Like computer , code , linux , hack .

Offline

#46 2011-04-19 15:20:36

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: jumanji - a web browser

I haven't bothered using multiple sessions; to save my previous session, I set the option to load session "jum" as my default in jumanjirc, then save session "jum" before closing.

Offline

#47 2011-04-20 04:26:36

numbchild
Member
Registered: 2010-05-22
Posts: 17
Website

Re: jumanji - a web browser

ANOKNUSA wrote:

I set the option to load session "jum" as my default in jumanjirc, then save session "jum" before closing.

This is what I want .... save a session before close, and load after next open . But jumanji will lose it after close .
By the way, it is better to make this two step automatic .


Hack
Like computer , code , linux , hack .

Offline

#48 2011-04-20 05:01:41

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 833

Re: jumanji - a web browser

numbchild wrote:
ANOKNUSA wrote:

I set the option to load session "jum" as my default in jumanjirc, then save session "jum" before closing.

This is what I want .... save a session before close, and load after next open . But jumanji will lose it after close .
By the way, it is better to make this two step automatic .

Here is how you do that:

set auto_save 60
set default_session_name start
set session_restored true

That takes care of both regular closes as well as jumanji crashes (at least on 60 second intervals), and restores the session the next time you open jumanji.  The name of the session can be anything (I named mine start).  Just put that into your jumanjirc and you should be good to go.


I laugh, yet the joke is on me

Offline

#49 2011-04-20 15:57:11

numbchild
Member
Registered: 2010-05-22
Posts: 17
Website

Re: jumanji - a web browser

set auto_save 60
set default_session_name start
set session_restored true

This is the point. and solved now . I guess that I have not set session_restored true , so that I can not restore session after one close .


Hack
Like computer , code , linux , hack .

Offline

#50 2011-04-21 09:17:47

slint
Member
Registered: 2009-05-22
Posts: 31

Re: jumanji - a web browser

Flash also doesn't work for me with webkit 1.3 from testing. Further I have quite a nasty problem: When surfing for a while with jumanji I get a segmentation fault every time I try to start a webkit application (including jumanji after I closed it). A X server restart fixes it.

Offline

Board footer

Powered by FluxBB