Jenereithara ea Accelerated Mobile Pages (AMP) bakeng sa ho theha maqephe a Google AMP , li- plugins tsa AMP le jenereithara ea li-tag tsa AMPHTML li tšehetsa ho amoheloa ha JavaScript ea hau.
Litaba tsa hau tsa JavaScript le Iframe li ka sebelisoa feela maqepheng a AMP tlasa maemo a itseng.
Khoutu ea hau ea JavaScript e ka kenya feela ho AMPHTML haeba e kentsoe ka iframe.
Li-iframes ho AMPHTML (ka tsela ea 'amp-iframe' tag) amohela feela litaba tse nang le khokahano ea HTTPS e patiloeng.
Haeba u batla ho sebelisa JavaScript ea hau ho AMPHTML, u tlameha ho li fana ka sehokelo sa HTTPS ebe u li kenya ka har'a leqephe le fapaneng la sebaka sa marang-rang ka Iframe, e le hore Accelerated Mobile Pages Generator le eona e ka tseba JavaScript ea hau ebe ea e fetola ho li-tag tsa 'amp Convert -iframe' ebe u li kopanya le leqephe la AMP.
Jenereithara ea AMPHTML e amohela li-iframes tse kopaneng (ho kenyeletsoa le JavaScript), e li fetole ho li-tag tsa 'amp-iframe' tse tsamaellanang, ebe e etsa hore JavaScript tsa eona tse fumanehang ho eona li fumanehe ka mofuta oa AMP.
Ho sebelisa JavaScript ea hau ho AMPHTML, maemo ana a tlameha ho khotsofatsoa: