Fading Coder

One Final Commit for the Last Sprint

Lessons Learned: Extracting Page Numbers from PDF.js

When working on a project that required retrieving the current page number from an embedded PDF viewer, I encountered several obstacles that took considerable time to resolve. This article documents the challenges I faced and the solutions I eventually implemented. Initial Setup The PDF viewer was h...

Making Cross-Domain Requests with Axios Using JSONP in Vue

JSONP (JSON with Padding) enables cross-origin data retrieval by injecting a <script> tag whose source points to a remote endpoint returning executable JavaScript. Unlike standard XHR, it bypasses same-origin restrictions by exploiting how browsers load external scripts. Cross-domain request f...