Commit Graph

65 Commits (86cae37cb6ff132605c2e437faaec5bc76593ceb)

Author SHA1 Message Date
Deathamns 86cae37cb6 Implement vAPI.insertHTML
The purpose of this API is basically to satisfy AMO reviewers in the
future, since the use of innerHTML with variables (i.e., not plain text) will
be rejected without any questions.

Since this is not a problem for browsers other than Firefox, they will
use simple innerHTML assignment, however safe-parsing could be implemented
for them too.
10 years ago
Deathamns d789ffa442 Popup related changes 10 years ago
Deathamns 1807c74580 Add license headers, plus some code styling 10 years ago
Raymond Hill 4c12408b1e jshint 10 years ago
Raymond Hill 09123d6971 use "platform" as suggested in #360 10 years ago
gorhill 9bb22b65ec forgot to add shutdown to other platforms (re. https://github.com/gorhill/uMatrix/issues/144) 10 years ago
gorhill dd60a74e3f code review 10 years ago
gorhill 987acfef65 this fixes https://github.com/gorhill/uMatrix/issues/144 10 years ago
YFdyh000 5ff7909497 Correct issue links 10 years ago
gorhill 170f164288 had a doubt, had to check it worked as intended 10 years ago
Deathamns 4599486290 vAPI.sessionId, element-picker dialog as iframe
vAPI.sessionId - random ID generated every time when a page loads.

Having the dialog in an iframe lowers the chance of interference with the
styling of the page, also avoids using innerHTML (AMO complaint).
10 years ago
Chris db772dea22 Remove previous Safari overhead; cleanup workarounds from rest of code 10 years ago
gorhill 894921e23f not needed 10 years ago
Deathamns bd0b1638db URL handling changes 10 years ago
gorhill 9172fcd049 this fixes one part of #498 10 years ago
Deathamns 3d40e0b2aa Code styling 10 years ago
Deathamns 5ec2e067df Add license headers, plus some code styling 10 years ago
Deathamns ba47f39c47 Firefox: implement vAPI.tabs.injectScript 10 years ago
Deathamns 9c00fbfb3b Firefox: implement toolbar button and popup 10 years ago
gorhill 06398e8065 code review for #456 10 years ago
gorhill a036152cc7 this fixes #456: another unrelated bug unveil from previous fix 10 years ago
Raymond Hill 3d61e80d1c jshint 10 years ago
Raymond Hill 61fb46a87f use "platform" as suggested in #360 10 years ago
gorhill ef67930454 refactored tabs/context code 10 years ago
YFdyh000 01df7aa50a Correct issue links 10 years ago
gorhill 88feb450cc new switch: toggle cosmetic filtering on/off for a site 10 years ago
gorhill 12fcc2d4f3 this fixes #1128 10 years ago
gorhill ce549b283a this fixes #1013, #1062 (draft) 10 years ago
gorhill 607c977da2 to catch slow popups 10 years ago
gorhill 49f6504f58 code review 10 years ago
gorhill 415857c55b code review: floating net requests recategorized as behind-the-scene 10 years ago
gorhill 58c546ae08 #1051: test only root frames 10 years ago
gorhill 6ef4821b73 this fixes #510 10 years ago
Deathamns d1f5a78ca2 Chrome: fix tab/window focusing issues
- Opening a tab from incognito window didn't focus the target window
- Previously active tab was visible for a brief moment when an already
  opened tab was selected from another window
10 years ago
gorhill df27e666a7 code review re #118 10 years ago
Deathamns 390733affe Chrome: don't open an Options tab for each window 10 years ago
Deathamns 04a2486ca9 Remove unnecessary fallback code for downloading 10 years ago
gorhill 58793e4d7c this helps #993 10 years ago
gorhill 806d89e443 this fixes #967 10 years ago
Deathamns 193b469ffe Trailing whitespace 10 years ago
gorhill b5e7c9cd03 code review 10 years ago
gorhill ca8d24fb08 this fixes #862 10 years ago
gorhill 754aa6cd8b move profiling code to platform-specific 10 years ago
gorhill 6123bff635 link to relevant jsperf 10 years ago
gorhill b66683a581 avoid closures when processing messages 10 years ago
gorhill 184aec1409 code review 10 years ago
gorhill a0de897608 code review: jshint'ed 10 years ago
gorhill d50594e7eb this fixes #536 10 years ago
gorhill 529258de44 started work on #105, #475, and possibly #510 10 years ago
gorhill f4a853c611 this fixes one part of #498 10 years ago