Ammar Ahmed
|
5921c61e98
|
mobile: fix share extension not able to clip webpage
|
2025-10-31 10:01:59 +05:00 |
|
Abdullah Atta
|
a81c8d0064
|
clipper: fix error on inlining css background images
|
2025-10-27 11:29:52 +05:00 |
|
Abdullah Atta
|
de4a660eb2
|
clipper: add svg screenshots for debugging
|
2025-10-25 15:12:31 +05:00 |
|
Abdullah Atta
|
c53fab603f
|
clipper: ignore noscript elements
|
2025-10-25 15:12:31 +05:00 |
|
01zulfi
|
a3e11b62e0
|
clipper: append head for node selection clips
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
|
2025-10-25 15:12:30 +05:00 |
|
01zulfi
|
5d1775151d
|
clipper: remove invalid element attributes for screenshot clips
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
|
2025-10-25 15:12:30 +05:00 |
|
Abdullah Atta
|
a0f5880e2c
|
clipper: serialize styles using xml serializer
|
2025-10-25 15:12:30 +05:00 |
|
Abdullah Atta
|
3dc7e70890
|
clipper: fix svg -> canvas -> image logic
|
2025-10-25 15:12:30 +05:00 |
|
01zulfi
|
2fa1fc8662
|
clipper: fix screenshot clip
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
|
2025-10-25 15:12:27 +05:00 |
|
01zulfi
|
879a65a41c
|
clipper: skip style inlining if property not present
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
|
2025-10-25 15:12:08 +05:00 |
|
Abdullah Atta
|
fd460d3e90
|
clipper: bg images in css not clipped
|
2025-10-25 15:12:08 +05:00 |
|
01zulfi
|
a74bd4972c
|
clipper: move inlining stylesheeet & css import resolution logic to addStylesToHead
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
|
2025-10-25 15:12:08 +05:00 |
|
01zulfi
|
0ed8839ea9
|
clipper: fix build error
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
|
2025-10-25 15:12:08 +05:00 |
|
Abdullah Atta
|
d7b0f2684a
|
clipper: minor perf improvements
|
2025-10-25 15:12:08 +05:00 |
|
Abdullah Atta
|
b5be9b3abf
|
clipper: fix image inlining in stylesheets
|
2025-10-25 15:12:08 +05:00 |
|
01zulfi
|
911105c409
|
clipper: inline background-images style for stylesheets appended to head
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
|
2025-10-25 15:12:08 +05:00 |
|
01zulfi
|
200c842671
|
clipper: ignore print stylesheets when adding to head
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
|
2025-10-25 15:12:08 +05:00 |
|
01zulfi
|
5e5930e9e8
|
clipper: inline styles if cssRules.length > 0
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
|
2025-10-25 15:12:08 +05:00 |
|
Abdullah Atta
|
fd64c1cf2d
|
clipper: set downloaded stylesheet as html instead of text
|
2025-10-25 15:12:08 +05:00 |
|
01zulfi
|
48e2916874
|
clipper: update filtering in cloned node
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
|
2025-10-25 15:12:08 +05:00 |
|
01zulfi
|
a4b0e5bfef
|
clipper: bring back node processing
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
|
2025-10-25 15:12:08 +05:00 |
|
01zulfi
|
0b56121a26
|
clipper: preserve root element attributes
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
|
2025-10-25 15:12:08 +05:00 |
|
01zulfi
|
f3f61d0e19
|
clipper: remove unneeded code & packages
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
|
2025-10-25 15:10:21 +05:00 |
|
01zulfi
|
faaf1eeadf
|
clipper: remove images from clip if images false
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
|
2025-10-25 15:07:42 +05:00 |
|
01zulfi
|
4fbaecc24e
|
clipper: remove clone related functions
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
|
2025-10-25 15:07:42 +05:00 |
|
01zulfi
|
4fb056095c
|
clipper: create & use addStylesToHead()
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
|
2025-10-25 15:07:42 +05:00 |
|
01zulfi
|
2d6142381b
|
clipper: remove valid attributes check
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
|
2025-10-25 15:07:41 +05:00 |
|
01zulfi
|
d97d14e830
|
clipper: improve clip with styles
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
|
2025-10-25 15:07:41 +05:00 |
|
01zulfi
|
f2f3f7e393
|
clipper: (wip) improve clip with styles
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
|
2025-10-25 15:07:41 +05:00 |
|
Abdullah Atta
|
7458aa53ae
|
clipper: make imports esm compatible
|
2024-09-23 15:32:11 +05:00 |
|
Ammar Ahmed
|
6db1cf5cc1
|
clipper: add images only for pro users (#6528)
|
2024-09-11 13:26:57 +05:00 |
|
Ammar Ahmed
|
2cb4a10076
|
clipper: add safe querySelector method
|
2024-09-09 14:57:49 +05:00 |
|
Abdullah Atta
|
f1111191b1
|
clipper: ignore stylesheets that throw cors error
|
2024-08-13 11:07:20 +05:00 |
|
Muhammad Ali
|
37d8d85935
|
clipper: delete import css rules after iteration (#3720)
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co>
|
2023-11-16 13:06:51 +05:00 |
|
Ammar Ahmed
|
c1e1a8d1a9
|
clipper: support full page clips without styles and images
|
2023-09-22 10:32:52 +05:00 |
|
Ammar Ahmed
|
f6a4af8c00
|
clipper: convert relative urls to absolute
|
2023-09-22 10:32:52 +05:00 |
|
Ammar Ahmed
|
2592a90853
|
mobile: fix clipper build output path
|
2023-09-22 10:32:52 +05:00 |
|
ammarahm-ed
|
788429efb7
|
mobile: clip dynamic websites
|
2023-09-22 10:32:52 +05:00 |
|
Abdullah Atta
|
408cd5a9f3
|
global: run prettier & eslint on all files
|
2023-06-26 13:43:57 +05:00 |
|
Abdullah Atta
|
32d027fff6
|
clipper(core): don't clip images in simplified mode
|
2023-05-13 17:50:41 +05:00 |
|
ammarahm-ed
|
a6021943e1
|
mobile: top level notes
|
2023-03-18 11:58:30 +05:00 |
|
Abdullah Atta
|
9116a24392
|
global: update license year to 2023
|
2023-01-16 13:48:28 +05:00 |
|
Abdullah Atta
|
7b7fd62047
|
clipper(core): make fetch options optional everywhere
|
2022-12-06 12:10:56 +05:00 |
|
Abdullah Atta
|
e71447c19d
|
clipper(web): add settings to configure cors proxy
|
2022-12-06 12:06:39 +05:00 |
|
Abdullah Atta
|
1a40c8ec77
|
clipper(core): change cors host to cors.notesnook.com
|
2022-12-05 15:20:54 +05:00 |
|
Abdullah Atta
|
47dcbba522
|
clipper(web): make ready for publishing
|
2022-12-05 15:20:54 +05:00 |
|
Abdullah Atta
|
ad91da9f2d
|
clipper: minor refactors and cleanup
|
2022-12-05 15:17:38 +05:00 |
|
Abdullah Atta
|
96a3d8edac
|
clipper: implement web clipper core library
|
2022-12-05 15:16:51 +05:00 |
|