GithubHelp home page GithubHelp logo

heisencoder / keyfixer Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 500 KB

Firefox Extension for changing the Mac keybindings to behave like Windows/Linux

Home Page: http://mavaball.net/wiki/Keyfixer

Shell 100.00%

keyfixer's People

Contributors

heisencoder avatar

Watchers

 avatar

keyfixer's Issues

Does not work with rich editors

Hi there,

I'm using Asana in Firefox on Mac (latest version of FF - 39.0).
KeyFixer works amazingly with single line text fields and simple textareas on other websites, but it does not work with rich editor which Asana uses for project description and task comments. It just behave as if there was no plug-in presented - Home scrolls the area up and End scrolls the area down.

Home/End fix stopped working in TB 31.4.0 and FF 35.0

Hi,

should I expect the keyfixer home/end fix to still work on the above versions of TB and FF ?

I am running OsX 10.9.5 and have a Microsoft Natural Ergonomic keyboard 4000 and it stopped working (since some time already).

Thanks for the project
A happy user since long time

Small fixed to build.sh

Hey,
New day.. fresh pair of eyes. I noticed a couple of issues with my additions to build.sh - you spotted one with the chrome.manifest'' file that shouldn't have been there.

Anyhow, corrected that issue, and also re-enabled the cleanup that I forgot to do when testing. These changes don't affect the .xpi - it's all build cosmetics.
Patch is below - a git diff this time :)

FYI, my patch from the other day /was/ needed to correct some of the issues with the altered chrome.manifest - the original sed seemed to insert the package name in the wrong places. The fix will work for any package name now also - it will modify the chome.manifest accordngly :)

Glad we got this fixed - I can't stand Apple's idea about what some keys should actually do...

Darren.

diff --git a/source/build.sh b/source/build.sh
index cd3e583..28764dd 100755
--- a/source/build.sh
+++ b/source/build.sh
@@ -113,14 +113,11 @@ if [ -f "chrome.manifest" ]; then
 #  sed -E -e "s/^(content\\s+\\S*\\s+)(\\S*\\/)$/\\1jar:chrome\\/$APP_NAME\\.jar!\\/\\2/g" chrome.manifest
 #  sed -E -e "s/^(skin\|locale)(\\s+\\S*\\s+\\S*\\s+)(.*\\/)$/\\1\\2jar:chrome\\/$APP_NAME\\.jar!\\/\\3/g" chrome.manifest
 # Note from Darren: This should work on GNU sed as well as BSD sed.
-  SED_ARGS="-r -i"
-  [[ "$(uname -s)" =~ (Darwin|.*BSD) ]] && SED_ARGS="-E -i ''"
-  sed $SED_ARGS "s/^([[:space:]]*content[[:space:]]+)[^[:space:]]+([[:space:]]+jar:chrome\/)[^\.]+(\.jar.*)/\1${APP_NAME}\2${APP_NAME}\3/" chrome.manifest
-  sed $SED_ARGS "s/^([[:space:]]*override[[:space:]]+[^[:space:]]+[[:space:]]+chrome:\/\/)[^\/]+(\/.*)/\1${APP_NAME}\2/g" chrome.manifest
+  SED_ARGS=("-r" "-i")
+  [[ "$(uname -s)" =~ (Darwin|.*BSD) ]] && SED_ARGS=("-E" "-i" "''")
+  sed "${SED_ARGS[@]}" "s/^([[:space:]]*content[[:space:]]+)[^[:space:]]+([[:space:]]+jar:chrome\/)[^\.]+(\.jar.*)/\1${APP_NAME}\2${APP_NAME}\3/" chrome.manifest
+  sed "${SED_ARGS[@]}" "s/^([[:space:]]*override[[:space:]]+[^[:space:]]+[[:space:]]+chrome:\/\/)[^\/]+(\/.*)/\1${APP_NAME}\2/g" chrome.manifest
   # I didn't re-write the (skin|locale) regex as it wasn't used in the chrome.manifest file.  Should be easy enough to figure it out though :)
-  if [ -e "chrome.manifest''" ]; then
-    rm "chrome.manifest''"
-  fi
 fi

 # generate the XPI file
@@ -138,7 +135,7 @@ else
 fi

 # remove the working files
-#rm -rf $TMP_DIR
+rm -rf $TMP_DIR
 echo "Done!"

 $AFTER_BUILD

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.