Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grab bag #207

Merged
merged 19 commits into from
Oct 27, 2018
Merged

Grab bag #207

merged 19 commits into from
Oct 27, 2018

Conversation

matatk
Copy link
Owner

@matatk matatk commented Oct 27, 2018

A range of small issues addressed for 2.4.0.

matatk added 19 commits October 21, 2018 20:47
...as the scripts are included via <script> tags at the end of the <body>.

Closes #192.
This uses ternery operator notation to allow the injector to appear as
one const variable in the generated code.
Unfortunately this still leaves some "Object.freeze()" calls in code
that doesn't use it, but I can't see a clean way to get rid of these.
* Declare functions at outer scope.  It is then unnecessary to define
  them using ternary notation, as the minifier will remove them.
* Ensure DevTools stuff does not get build for Edge.
* More conditional checking where stuff is used.
* Terser now removes various things like sidebar-related variables on
  Chrome automatically.

Fixes #195.
Instead of checking for special pages, check that a page is
content-scriptable, as this is more in line with what the extension
wants to do.

Fixes #206.
Only add the interface option on sidebar-supporting browsers (the
related functions are automatically pruned).

Also fixes #195 :-).
* In line with other "assembled" files.
* This might make merging the "show all" changes back in from that commit more interesting :-).
When multiple GUIs are open, be sure to only request landmarks from the
active tab once. Fixes #205.
As per the recently-retconned PR notes for #85.

Partly addresses #197.
* Clarify support in the README (and why).
* Tweak the rationale in the README.
* Clarify behaviour in comments.

Fixes #197.
2.3.1 was reviewed recently.
@matatk matatk merged commit 6e4e940 into master Oct 27, 2018
@matatk matatk deleted the grab-bag branch October 27, 2018 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant