You are not logged in.
<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
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
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
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.
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
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
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
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
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.
Last edited by lives2evil (2011-04-13 19:18:36)
tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ
Offline
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
Hello
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
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
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
Hello,
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
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
Hello,
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
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
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
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
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
: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
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
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
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
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
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