Skip to content

Commit

Permalink
Automatic page reload for touch simulation in responsive design mode
Browse files Browse the repository at this point in the history
When using the "Responsive Design Mode" [1] and the "touch simulation"
gets activated it requires the page to reload in order to work properly.
Firefox provides an option to automatically run this task which is now
enabled by default.

[1]: https://developer.mozilla.org/en-US/docs/Tools/Responsive_Design_Mode

GH-222
  • Loading branch information
arcticicestudio committed Mar 24, 2020
1 parent 2623363 commit bf783f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions snowblocks/firefox/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,9 @@ user_pref("devtools.editor.detectindentation", true);
user_pref("devtools.editor.expandtab", true);
user_pref("devtools.editor.keymap", "default");
user_pref("devtools.editor.tabsize", 2);
user_pref("devtools.responsive.reloadConditions.touchSimulation", false);
user_pref("devtools.responsive.reloadConditions.userAgent", false);
user_pref("devtools.responsive.showUserAgentInput", false);
user_pref("devtools.inspector.showUserAgentStyles", true);
user_pref("devtools.markup.collapseAttributes", true);
user_pref("devtools.memory.enabled", true);
Expand Down

0 comments on commit bf783f6

Please sign in to comment.