GithubHelp home page GithubHelp logo

vimperator-plugins's Introduction

Vimperator Plugins

This is a set of plugins that will work with Vimperator

While Vimperator offers already lots of cool features, we cannot and don't want to include every feature directly in the core. Therefore you can enhance the Vimperator experience by adding plugins which add new commands or mappings. Install these plugins by copying them to the ~/.vimperator/plugin/ directory (or %HOME%\vimperator\plugin on Windows) unless noted differently.

Note: Master is valid only for versions Firefox 19.* and lower.
For versions Firefox 20.* and higher, please check the branch 3.6 here

Plugins

feedSomeKeys_3.js

You can add the following commands to your .vimperatorrc file

:command! -nargs=+ lazy autocmd VimperatorEnter .* <args>
:lazy fmaps -u='mail\.google\.com/mail' c / j k n p o u e x s r a # [ ] ? gi gs gt gd ga gc
:lazy fmaps -u='mail\.google\.com/mail/.*/[0-9a-f]+$' c / j,n k,p n,j p,k o u e x s r a # [ ] ? gi gs gt gd ga gc
:lazy fmaps -u='www\.google\.co\.jp/reader' -events=vkeypress j k n p m s v A r S N P X O gh ga gs gt gu u / ? J K
:lazy fmaps -u='(fastladder|livedoor)\.com/reader' j k s a p o v c i,p <Space> <S-Space> z b < > q w e,g
:lazy fmaps -u='https?://www\.rememberthemilk\.com/home/' j k m i c t ? d F,f G,g S,s L,l Y,y H,h M,m <Del> <C-S-Left> <C-S-Right>
:lazy fmaps -u='http://code.google.com/p/vimperator-labs/issues/list' o j k
:lazy fmaps -u='http://code.google.com/p/vimperator-labs/issues/detail' u

Note: If you are planning to add them via command line, then remove the "lazy"

vimperator-plugins's People

Contributors

akameco avatar amaisaeta avatar amlitzer avatar anekos avatar cd01 avatar dsp74118 avatar eagletmt avatar ebith avatar elzup avatar gawel avatar hallasurvivor avatar jagua avatar januswel avatar jothirams avatar kaorimatz avatar kg8m avatar mashiro avatar mitsugu avatar ninjatottori avatar nise-nabe avatar nobita4176 avatar snaka avatar t-f-m avatar teddywing avatar teramako avatar thinca avatar tomfitzhenry avatar tyru avatar wlt avatar zentooo 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  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

vimperator-plugins's Issues

Load next.js still failed

Sourcing file failed: ~\vimperator\plugin\nextlink.js:120: SyntaxError: syntax error

BARE xml still remains.

usi.js gives SyntaxError message

I'm using vimperator 3.8.3 with usi.js (used both the version on the master branch and 3.6 which is the same to my understanding) and the script doesn't load. I get a message that: "Sourcing file failed .../.vimperator/plugin/usi.js:134: SyntaxError: syntax error"

feedSomeKeys_3.jsが大文字のキーを認識してくれない

ダメなケース:

fmaps -u='mail\.google\.com/mail' R A

OKなケース:

fmaps -u='mail\.google\.com/mail' <S-r> <S-a>

<S-r>RどっちでもOKにしてほしいです。
ちょっとコード追ってみたらvirtualize()で大文字の時の処理があったので、大文字の判定を忘れてるわけではなさそうです。

PDF.js.js cannot be loaded when accessing urls with parameters

When accessing urls like following, PDF.js.js cannot be loaded:

http://delivery.acm.org/10.1145/3010000/3005771/p204-hari.pdf?ip=202.120.188.240&id=3005771&acc=ACTIVE%20SERVICE&key=BF85BBA5741FDC6E%2E1FD0E2C7647D7D03%2E4D4702B0C3E38B35%2E4D4702B0C3E38B35&CFID=881012010&CFTOKEN=39596783&__acm__=1482839995_25e653d93c192249a869fff952cbe81d

It should be fixed by changing matchingUrls to /\.pdf\?([^=]+=[^&]*)?(&[^=]+=[^&]*)*$/.

Further more, can we support something like filetype and ftdetec in vim? Currently, vimperator can only addUserMap by matchingUrls. Is it possible to support to match DOMs to decide which settings should be enabled?

How do I use the plugins?

It would be really helpful if there was a basic wiki on how to use the plugins. A lot of plugins seem useful. Please do consider writing a wiki.

feedSomeKeys and Tiny Tiny RSS

Tiny Tiny RSS has some keyboard shortcuts which I cannot seem to trigger via :fmaps of feedSomeKeys, e.g., it requires to press two keys, g and then s to go to the starred articles, or c and then n to mark the articles above as read.

Other keyboard shortcuts such as / for search, seem to be properly working. Could anyone please enlighten me?

migemo-find.js で E486 エラー

検索自体は問題なく行えるのですが、Enterキーを押すと E486: Pattern not found: undefined とステータスラインに赤バックで表示されてしまいます。

twittperatorのプラグインがロードできない

Sourcing file failed: /home/hoge/.vimperator/vimpr/twittperator.js:2092: ReferenceError: Script is not defined

Firefoxの起動時に上記のようなエラーメッセージが出力されます。
https://blog.mozilla.org/addons/2015/10/14/breaking-changes-let-const-firefox-nightly-44/ の影響だと思うのですが…

環境

Vimperator: 3.13.1 (created: 2016/05/04 01:34:00)
Firefox:    Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Firefox20でplugin_loader.jsの読み込みに失敗

3.6用のブランチを使用しているが、Firefox20, vimperator3.7を利用した時、
起動時に以下のエラーが出て他のプラグインが読み込めない。

sourcing file failed: plugin_loader.js:70: TypeError: obj is undefined

Microsoft Translation plugin cannot authenticate with appID.

Hello,

I've tried to use microsoft_translation.js plugin however all I get is following exception :

"ArgumentException: Invalid appId\u000d\u000aParameter name: appId : 
ID=5107.V2_Json.Detect.42E206CA"

Can it be possible that appID authentication is deprecated ? like it's written in this answer ?

http://stackoverflow.com/questions/14131141/how-to-use-bing-translation-api
http://msdn.microsoft.com/en-us/library/hh454950.aspx#powershellexample

or here ?

Twittperator - Twitter API error

After :tw -getAPI and consequently :tw -setAPI, Twittperator won't work. Everything you try to do returns as:

Twitter API Error: (specific error)

eg: Twitter API Error: statuses/home_timeline when trying to view timeline.

direct_bookmark.jsに現在のタブ以外のURLをブクマできる機能がほしい (ほぼ実装済み)

自分用に欲しかったのでdirect_bookmark/sbm-url-optionブランチで実装してます。
ただ--urlで指定されたURLが現在のタブ以外だったらgetTitleByURL()という追加した関数でGETしてtitleを取得してるのですが、charsetを考慮してる訳ではないので日本語が文字化けします。
JSでエンコーディング変換するのは面倒な気がするので(そもそも自分はあまりJSを本気で使ったことないのでこういう場合のベストプラクティスを知らない)、何かいい方法あったら教えてほしいです。

あと--url:openみたいな補完をつけたいなーとか。
'complete'オプション見て自前で実装するしかないんでしょうか。
vimperator側で公開してる(内部用の関数しかない気がするけど)関数とかあればそれも教えてほしいです。

教えて君ですみません...

How to support autoload reasonably?

I found matchingUrls (which is the mechanism used by vimperator to implement plugins' autoload) is really not a good idea to autoload plugins. See #117

In the dynamic websites, http servers will use route to select which pages should be rendered. So URL does often not direct a static file.

For example, https://github.com///blob///.pdf will not direct a PDF file. Github will open a webpage with its own online pdf reader to display this PDF file. So PDF.js will not be loaded by FireFox.

But https://raw.githubusercontent.com/////.pdf will response a PDF file via HTTPS. The media type of its HTTPS response is application/pdf. So FireFox will load PDF.js.

I think there are two potential solutions:

  1. Use HTTP header matching (not url matching) to autoload. We can match different mediatype.
  2. Use DOM detecting to autoload. Plugin authors need to define DOM detectors like ftdetect in vim.

sbmcommentsviewer.js でエラー

Firefox 20.0 for Mac
Vimperator 3.7
sbmcommentsviewer.js は3.6ブランチのものを使用。

Firefox起動時に以下のエラーが出て動作しません。

undefined: Error opening input stream (invalid filename?)

c712ac515d1b0470645ac07fd637b9a4

Inline html question (E4X)

So in many of the plugins I see there is inline html like in facebook.js:327. My best guess is that this is E4X but it seems to be deprecated quite some time ago.
Is that parsed py vimperator-plugins, vimperator or is it a firefox trick?

Thanx!

pluginManager.js error

Hi,

I'm trying pluginManger.js on firefox 20 with vimperator 3.7 but got error as the screenshot showed below.

I tried to set up a all new firefox profile with -no-remote -P command, and installed only vimperator 3.7, when loading scripts the error was still there.

My OS is Ubuntu with enlightenment 17, and pluginManger.js file was downloaded from branch 3.6.

shot-2013-04-10_23-07-54

Vimperator plugins are all failing with Firefox version 21

Hello All of my vimperator plugins are failing on the new firefox 21
because of the angle brackets. I have vimperator 3.7
Plugins:
PDF.js.js clock.js gmail-commando.js googledocs.js jquery-loader.js refe.js stella.js
_libly.js cpan-search.js gmperator.js hints-yank-paste.js lo.js slideshare.js zip-de-download.js
caret-hint.js fetchyoutube.js google-plus-commando.js history-search-backward.js paste.js splitBrowser.js

Most of the them are complaining about Javascript line 37
<>

extract plain text

Hello there,

I'm new to here. Since it seems inconvenient for me to get well with Vimperator at the beginning I think I need a plugin which can hellp me crawl all text from the browser and then paste it to Vim for editing and processing.

I can do that manually by first opening the firefox from command line and then opening the url and then locating the cursor in the the beginning in caret mode and copy and paste. The first time I felt good but now I get annoyed.

How can I automatically manage the above process without leaving the terminal or possibly the Vim?

Thanks,
Best regards,
Leo

Session-manager problem

Hello:

I have added the vimperator plugin session-manager.js to vimperator plugins and
I have session manager 0.8.0.8 by Michael Kraft installed on Firefox 25. I have
Vimperator 3.8pre installed on Mac OS X 10.7. Anyways I see the help files and
user commands on vimperator help files but I cannot execute any commands for
the session-manager.js plugin. Any help is appreciated.

Sincerely,
Jean-Marcel Belmont

Plugin Info

I want a simple customization -- have some standard text on the statusbar, like date-time (24-hr Time). On the right end.
I am sorry I was not able to figure out, which one would be the apt to do that. I am pretty sure, that you geniuses have the customizations to your taste. Please help me figure out which one suits my requirement.

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.