New HackTheWeb version 1.3.20

Latest Version Here: HackTheWeb 1.3.20

[Updated 23.10.2012]

HTW Keystroke changes (Part Three)
W to E – a modest proposal. (See blog for details).
Display Widen button in place of De-Width.
- Accept both D and W for De-Width/Wider.
- Save to Stylish script clean up.
Added Preferences- Stylish Tips
- Stylish Tips
– Tips and Cheats
– Tips Only
– None
- Middle Click Action

HackTheWeb 1.3.12

Changes to Help.
- Help is now easier to find via a tool-tip on the save button.
- Help now shows a full list of commands.
- Help now auto closes after a minute.

HTW Keystroke changes (Part Two) – W to E – a modest proposal. (See blog for details).
- Warning on the attempted use of “W” to now use “E” instead.

HackTheWeb 1.3.10

HTW Keystroke changes – W to E – a modest proposal. (See blog for details).
Paving the way for the switch over I have added the following code:
- Enable “E” (Expand) as a future replacement for “W” (Wider).
- Gentle warning on the use of “W”.

Previously:
HackTheWeb now offers the ability to save your changes to a script.
Save to Stylish, its the dawn of a new day ;-)

Full Release Notes here.

If you like the add-on add a review here.

If you find any issues or errors please add a comment to this post.
_____________________________

, , , , , , ,

16 Comments

HackTheWeb Keystroke changes – W to E – a modest proposal.

The Rationale For The Changes:

Hopefully people are using the toolbar and so won’t notice the changes. :-)

I have always hated disliked “D” for De-Width, while technically correct, it would be a lot easier for new users to understand, if it was “W” for Widen.

But the original code already uses theW for Wider for another task (to increase the size of the red box).

So can I swap the key mappings around without causing existing users too much pain?

I think the answer is “possibly”. :-)

______________________________

Keystroke changes (Part One)

HTW 1.3.10 – [Implemented 20.09.12]

So first up is to Enable “E” (same code as Wider).

Then put warnings on the use of W:

Please use the E for Expand instead. Comment here. Sorry for any inconvenience.

Put in a setTimeout to turn that warning off after 5 seconds.

This will enable me to test the waters and see if it will upset too many users.

______________________________

Keystroke changes (Part Two)

HTW 1.3.12 -  [Implemented 02.10.12]

Altered code so that W no longer widens selection.

Warning on the attempted use of “W” to now use “E” instead.

Turn that warning off after 10 seconds.

This will ensure everyone is using E and not W before we re-purpose the command.

______________________________

Keystroke changes (Part Three)

HTW 1.3.18 -  [Implemented 11.10.12]

Display Widen button in place of De-Width.

Accept both W and D for Widen/De-Width.

______________________________

I may be being too conservative about the changes.  Maybe I could do it all in one big bang… but I don’t want to alienate anyone so…. better to do it in stages.

Anyone interested can comment on this proposal below.

[Edit 10.10.12] Looking at the statistics: Out of a total of 3,957 Daily Users 3679 have had both warning 1 and 2.

OK thats good enough for me to implement the final part of the W to E proposal.

Date: Oct 9 1.3.12 = 3,217 1.3.10 = 269 1.3.14 = 193

______________________________

Old HackTheWeb.


Keystrokes

  • R    Remove – Delete the selected element.
  • U    Undo – Undo the last “remove” or “isolate” command.
  • D    De-Width – remove the width limit, allowing text to re-flow.
  • I     Isolate – Remove everything except the selected element.
  • L    Lily-White – White background.
  • B    Black-on-White – Black text on white background.
  • S    Save – Save to Stylish.
  • W   Wider – increase the size of the red box.
  • N    Narrow – decrease the size of the red box.
  • H    Help
  • Q    Quit

 


Legacy

  • P    Paste – Insert the last removed element before the current selected element.
  • V    View Source – Shows the source code.
  • J    JavaScript Source – Generates Javascript code.
  • X    XPath – Show the XPath.
  • K    Kill – Delete the selected element permanently (requires RIP extension).
  • C    Colourize – Sets background to a random colour.

 

New Proposed HackTheWeb.


Keystrokes

  • R    Remove – Delete the selected element.
  • U    Undo – Undo the last “remove” or “isolate” command.
  • W   Widen – remove the width limit, allowing text to re-flow.
  • I     Isolate – Remove everything except the selected element.
  • L    Lily-White – White background.
  • B    Black-on-White – Black text on white background.
  • S    Save – Save to Stylish.
  • E    Expand – increase the size of the red box.
  • N    Narrow – decrease the size of the red box.
  • H    Help
  • Q    Quit

Legacy

  • P    Paste – Insert the last removed element before the current selected element.
  • V    View Source – Shows the source code.
  • J    JavaScript Source – Generates Javascript code.
  • X    XPath – Show the XPath.
  • K    Kill – Delete the selected element permanently (requires RIP extension).
  • C    Colourize – Sets background to a random colour.

 

, , , , , ,

10 Comments

New HackTheWeb version 1.3.8 – Stylish 1.3.0 Fix

[Updated: 10.0912]

The fix for HTW not “Saving to Stylish” with Stylish 1.3.0, is to update to HTW 1.3.8.

This will be getting pushed out automatically over the next few days.

Latest Version Here: HackTheWeb 1.3.8
______________________________

Details:

Error: NS_ERROR_XPC_NOT_ENOUGH_ARGS: Not enough arguments [stylishStyle.init]
Source File: chrome://hacktheweb/content/hackthewebCommands.js
Line: 227

stylishStyle.js

findSql

style.init(e(“url”), e(“idUrl”), e(“updateUrl”), e(“md5Url”), e(“name”), e(“code”), e(“enabled”), e(“originalCode”), e(“applyBackgroundUpdates”));

hackthewebCommands.js

savescript

var style = Components.classes["@userstyles.org/style;1"].createInstance (Components.interfaces.stylishStyle);
style.mode = style.CALCULATE_META | style.REGISTER_STYLE_ON_CHANGE;
style.init(null, null, null, null, suggestedName, s, false, null, null);
stylishCommon.openEdit(stylishCommon.getWindowName(“stylishEdit”), {style: style});

______________________________

Not enough arguments so checked what was expected in this version of Stylish and added the extra null, sorted :-)

No Comments

New HackTheWeb version 1.3.7 – Implemented Preferences & Save to Stylish

[Updated 10.08.2012]

HackTheWeb 1.3.7

Latest version here.

- Added Options/Preferences
( Tools > Add-ons > Options/Preferences).

Advanced
- ClickSupport
- LeftClick
- RightClick

Colorize
- Color1
- Color2

Code Changes:
Fixed:
ReferenceError: evt is not defined


[Updated 07.08.2012]

HackTheWeb 1.3.6

Implemented Preferences.
- pref_colorizeOverride

Code changes:
- Updated description.
- Updated link for adding Stylish.
- Updated link for adding RIP.


[Updated 03.07.2012]

HackTheWeb 1.3.1

- Isolate now saves to stylish.
- *WHOOT* all toolbar actions now save to stylish!
- Implemented: Remove, DeWidth, Isolate, LilyWhite and Black-on-White.
- Scripts are presented in a much cleaner, easier-to-understand way.
- Save to Stylish code updated.

* Big thanks to luckymouse for helping with the Isolate CSS.

Previously:
HackTheWeb now offers the ability to save your changes to a script.
Save to Stylish, its the dawn of a new day ;-)

Full Release Notes here.

If you like the add-on add a review here.

If you find any issues or errors please add a comment to this post.

, , , , , , , , , , , , ,

69 Comments

New HackTheWeb version 1.2.16 – Save to Stylish, its the dawn of a new day ;-)

Latest Version Here: HackTheWeb 1.2.16

[Updated 17.06.2012]

*Save to Stylish code now refactored and scripts are presented in a much clearer, easier-to-understand way.
*Black on White now saves to stylish.
Implemented actions so far : Remove, DeWidth, LilyWhite and Black-on-White.

* Improves the way HackTheWeb reflows text with De-Width.
e.g. Start with a paragraph in the area you want to reflow, keep clicking until it reflows.
- Each time you De-Width HTW auto-selects the next wider element.
- This allows you to De-Width successively wider elements until you hit the one that you want.

Previously:
HackTheWeb now offers the ability to save your changes to a script.
Save to Stylish, its the dawn of a new day ;-)

Full Release Notes here.

If you like the add-on add a review here.

If you find any issues or errors please add a comment to this post.
_____________________________

, , , , , , , ,

14 Comments

New HackTheWeb version 1.2.5 – Save to Stylish, its the dawn of a new day ;-)

Latest Version Here: HackTheWeb 1.2.5
HackTheWeb now offers the ability to save your changes to a script.
Save to Stylish, its the dawn of a new day ;-)

Full Release Notes here.

If you like the add-on add a review here.

If you find any issues or errors please add a comment to this post.
_____________________________

, , , , , ,

No Comments

HackTheWeb 1.1.7 uploaded to AMO

I have uploaded HackTheWeb 1.1.7 to AMO. [Direct Link]

HackTheWeb 1.1.7

HackTheWeb now differentiates correctly between left, right and middle buttons (New rightClick “wider” and middleClick “narrower” actions). Also incorporating a new preference allowing blog borders to be enabled (borders 1% 15%), now off by default. On each start of HackTheWeb leftClick is set to “remove”.

Details:
+ ContextMenu suppressed on right click “wider” action.
+ pref(“extensions.hacktheweb@instantfox.clickSupport”, 1);
+ pref(“extensions.hacktheweb@instantfox.leftClickAction”, “r”);
+ pref(“extensions.hacktheweb@instantfox.middleClickAction”, “n”);
+ pref(“extensions.hacktheweb@instantfox.rightClickAction”, “w”);
+ Preference renaming exercise for greater clarity.
User Requested:
+ pref(“extensions.hacktheweb@instantfox.blogBorder”, 0);
+ pref(“extensions.hacktheweb@instantfox.leftClickOnStart”, “r”)

Full Release Notes here.

If you find any issues or errors please add a comment to this post.

, , , , , ,

13 Comments

Help Page Completely Updated.

OK with the new release of 1.1.4, I have dived in and refreshed the Help page.

It now flows much better and reads more logically. :-)

This was helped in great part by 1.1.4 landing, as there had been a lot of changes to the toolbar buttons.

Looking at the level of updates from previous versions of HackTheWeb to 1.1.4, I felt that it was reasonable to rewrite the Help assuming users are on 1.1.4 or greater.

If you find any issues or errors please add a comment to this post.

, , ,

2 Comments

HackTheWeb 1.1.4 Has Passed its Preliminary Review at Mozilla.

I have uploaded HackTheWeb 1.1.4, and it has been preliminarily reviewed by Mozilla.

HackTheWeb 1.1.4

Easier to use Toolbar Buttons, with a streamlined, more intuitive, user interaction.
+ HackTheWeb now only shows one button when not in use.
+ HackTheWeb uses a “toolbar item” to hide and show extras buttons when needed.
+ The Toolbar buttons now show their toggled state (On or Off).
+ Undo now acts immediately.

Full Release Notes here.

Note: After updating to 1.1.4
You will need to re-add the HTW button to the toolbar.

I have made this post Sticky and it will stay at the top until 1.1.5 is released.

Add any issues or bugs to this post as comments.

, , , , , ,

No Comments

HackTheWeb 1.1.3 Has Passed its Preliminary Review at Mozilla.

I have uploaded HackTheWeb 1.1.3, and has been preliminarily reviewed by Mozilla.

You can check it out on AMO.

HackTheWeb now with added Toolbar Buttons!

HackTheWeb 1.1.3
AMO remediation – Item 3 resolved.
+Adding a global JavaScript variable is disabled in this version of HackTheWeb.

HackTheWeb 1.1.2
AMO remediation – Item 2 resolved.
+ setTimeout code refactored.

HackTheWeb 1.1.1
Created Toolbar buttons for each Action.
All working but will need polishing.

HackTheWeb 1.1.0
Created toolbar-button.png containing 25 buttons 18 in use.
Updated gif’s to png’s.

Full Release Notes here.

I have made this post Sticky and it will stay at the top until 1.1.4 is released.

Add any issues or bugs to this post as comments.

, , , , , ,

8 Comments